Slightly O/T - question for Windows users
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
Slightly O/T - question for Windows users         


Author: DavidM
Date: Jul 16, 2008 13:30

Hi,

I've been developing my forth on linux, but when it came time to add
Windows support, I found it easiest (and cheapest) to base Windows
building on the MinGW/MSys toolset, rather than the native Windows tools
like MSVC/MSVS etc.

My question is - would the typical windows-using coder feel alienated at
having to install MinGW/MSys in order to compile a forth on Windows?
Would such a user feel a bit put off at lack of MSVS support?

Cheers
Dave
9 Comments
Re: Slightly O/T - question for Windows users         


Author: spam
Date: Jul 16, 2008 16:11

On Wed, 17 Jul 2008, DavidM wrote:
> Hi,
>
> I've been developing my forth on linux, but when it came time to add
> Windows support, I found it easiest (and cheapest) to base Windows
> building on the MinGW/MSys toolset, rather than the native Windows tools
> like MSVC/MSVS etc.
>
> My question is - would the typical windows-using coder feel alienated at
> having to install MinGW/MSys in order to compile a forth on Windows?
> Would such a user feel a bit put off at lack of MSVS support?
>
> Cheers
> Dave

Um, David, MingW does not require having anything not related to the
application itself, any .dll's you might use, or create. Cygwin, on the
other hand has a run time .dll which must be added to Cygwin functions,
unless you take specific actions (-nocygwin?) on the compile.
Show full article (1.19Kb)
no comments
Re: Slightly O/T - question for Windows users         


Author: DavidM
Date: Jul 16, 2008 18:41

On Wed, 16 Jul 2008 19:11:55 -0400, spam wrote:
> Um, David, MingW does not require having anything not related to the
> application itself, any .dll's you might use, or create. Cygwin, on the
> other hand has a run time .dll which must be added to Cygwin functions,
> unless you take specific actions (-nocygwin?) on the compile.

I do realise that. Cygwin in the early days put me off because of the big
ball and chain, while MinGW builds native apps.

But for a Windows dev whose attention span is stressed, and who is
accustomed to single point-and-click downloading and running an
installer, MinGW doesn't exactly make that easy. They don't provide an
'all in one' installer. The closest is the mingw-x.x-install.exe and the
msys-x.x-install.exe, which you have to hunt for in a long sf.net
downloads page. Then there's ancillary stuff like gdb, which needs to be
separately installed.

On the other hand, lots of Windows devs already have an MSVC/MSVS lying
around.
no comments
Re: Slightly O/T - question for Windows users         


Author: astrobe
Date: Jul 18, 2008 13:03

On Jul 17, 2:41 am, DavidM nowhere.com> wrote:
> On Wed, 16 Jul 2008 19:11:55 -0400, spam wrote:
>> Um, David, MingW does not require having anything not related to the
>> application itself, any .dll's you might use, or create.  Cygwin, on the
>> other hand has a run time .dll which must be added to Cygwin functions,
>> unless you take specific actions (-nocygwin?) on the compile.
>
> I do realise that. Cygwin in the early days put me off because of the big
> ball and chain, while MinGW builds native apps.
>
> But for a Windows dev whose attention span is stressed, and who is
> accustomed to single point-and-click downloading and running an
> installer, MinGW doesn't exactly make that easy. They don't provide an
> 'all in one' installer. The closest is the mingw-x.x-install.exe and the
> msys-x.x-install.exe, which you have to hunt for in a long sf.net
> downloads page. Then there's ancillary stuff like gdb, which needs to be
> separately installed.
>
> On the other hand, lots of Windows devs already have an MSVC/MSVS lying
> around. ...
Show full article (1.40Kb)
no comments
Re: Slightly O/T - question for Windows users         


Author: Bernd Paysan
Date: Jul 18, 2008 14:51

DavidM wrote:
> But for a Windows dev whose attention span is stressed, and who is
> accustomed to single point-and-click downloading and running an
> installer, MinGW doesn't exactly make that easy. They don't provide an
> 'all in one' installer.

The way I get MinGW is part of Cygwin. Cygwin has an all in one installer.
It's not as trivial as it could be, but sufficient.
> The closest is the mingw-x.x-install.exe and the
> msys-x.x-install.exe, which you have to hunt for in a long sf.net
> downloads page. Then there's ancillary stuff like gdb, which needs to be
> separately installed.

Really: Get Cygwin. Add the -mno-cygwin option to the compiler to build
MinGW executables.
> On the other hand, lots of Windows devs already have an MSVC/MSVS lying
> around.
Show full article (1.46Kb)
no comments
Re: Slightly O/T - question for Windows users         


Author: dbu
Date: Jul 19, 2008 00:34

On 16 Jul., 22:30, DavidM nowhere.com> wrote:
> Hi,
>
> I've been developing my forth on linux, but when it came time to add
> Windows support, I found it easiest (and cheapest) to base Windows
> building on the MinGW/MSys toolset, rather than the native Windows tools
> like MSVC/MSVS etc.
>
> My question is - would the typical windows-using coder feel alienated at
> having to install MinGW/MSys in order to compile a forth on Windows?
> Would such a user feel a bit put off at lack of MSVS support?

I don't know what MinGW/MSys or MSVC/MSVS is.
But If you use Win32Forth you don't need it.
> Cheers
> Dave

regards
Dirk
no comments
Re: Slightly O/T - question for Windows users         


Author: The Beez'
Date: Jul 20, 2008 05:19

On 16 jul, 22:30, DavidM nowhere.com> wrote:
> I've been developing my forth on linux, but when it came time to add
> Windows support, I found it easiest (and cheapest) to base Windows
> building on the MinGW/MSys toolset, rather than the native Windows tools
> like MSVC/MSVS etc.
>
> My question is - would the typical windows-using coder feel alienated at
> having to install MinGW/MSys in order to compile a forth on Windows?
> Would such a user feel a bit put off at lack of MSVS support?
I used to use MinGW/MSys for my Windows builds, nowadays I prepare all
Windows packages under Linux using cross-compilers and Wine for
running the installer compiler. I suggest you add a section to your
documentation for developers who want to compile using other compilers
with:

- A section of preferred and recommended compilers per OS/environment
- A few general hints on how to set up a generic compiler environment
(e.g. which stuff makes us a makefile)
Show full article (2.08Kb)
no comments
Re: Slightly O/T - question for Windows users         


Author: spam
Date: Jul 20, 2008 12:04

On Sun, 20 Jul 2008, The Beez' wrote:
...
> Windows packages under Linux using cross-compilers and Wine for
> running the installer compiler. I suggest you add a section to your
> documentation for developers who want to compile using other compilers
> with:
...

Hans makes a great point!

To expand, and back to the question, I too use cross development tools for
windows, and use either BSD or Linux with gnu make, and thus my single
source build environment will build various architectures simply by
asking for what you want:

make bsd
make mingw
make avr32
make linux
make nintendo

1 make file, N compilers, and N targets ...
Show full article (3.24Kb)
no comments
Re: Slightly O/T - question for Windows users         


Author: rickman
Date: Jul 21, 2008 08:28

On Jul 18, 4:03 pm, astrobe gmail.com> wrote:
> On Jul 17, 2:41 am, DavidM nowhere.com> wrote:
>
>
>
>> On Wed, 16 Jul 2008 19:11:55 -0400, spam wrote:
>>> Um, David, MingW does not require having anything not related to the
>>> application itself, any .dll's you might use, or create. Cygwin, on the
>>> other hand has a run time .dll which must be added to Cygwin functions,
>>> unless you take specific actions (-nocygwin?) on the compile.
>
>> I do realise that. Cygwin in the early days put me off because of the big
>> ball and chain, while MinGW builds native apps.
>
>> But for a Windows dev whose attention span is stressed, and who is
>> accustomed to single point-and-click downloading and running an
>> installer, MinGW doesn't exactly make that easy. They don't provide an
>> 'all in one' installer. The closest is the mingw-x.x-install.exe and the
>> msys-x.x-install.exe, which you have to hunt for in a long sf.net
>> downloads page. Then there's ancillary stuff like gdb, which needs to be ...
Show full article (2.30Kb)
no comments
Re: Slightly O/T - question for Windows users         


Author: astrobe
Date: Jul 21, 2008 11:50

[...]
>
>> I also use MinGW for my windows build. True, there's no quick
>> installer but hey, if the guy is not able to install MinGW (which is
>> not that hard), that guy should certainly not mess with your source.
>> However, I heard of Dev-C++, which is an IDE which includes MinGW as
>> the compiler. Maybe they have an installer.
>
[...]
>
> That reminds me of a friend who had a Lotus sports car.  English was
> his second language so I didn't always get everything he said, but he
> had lived in Kansas and the only mechanic was 100 miles away.  The
> mechanic would not give estimates or give opinions of what was wrong
> or even listen to what the owner wanted done.  You gave him your Lotus
> and he would let you know when it was ready and how much it cost.  If
> he was in a good mood, he would tell you what he did.
>

That looks like me! :)
Show full article (3.15Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Windows XP and Windows Vista ExpertZone chat tomorrow, June 5th 10am PSTmicrosoft.public.windows.vista.mail ·
ANN: Windows Vista SP1 IS On Microsoft Windows Vista Connect, Just FYI.microsoft.public.windows.vista.general ·