totsubo
asked on
GNU g++ or other ANSI C++ compliant compilers for win95?
I'd like to know where I can get a free compiler for C++ for a win95 machine. I need a fully ANSI C++ compliant one ...
Thanks!
Thanks!
ASKER
I've looked but can't find a link to a downloadable binaries. Can you supply one? gcc would be the perfect choice of course ...
Jc
Jc
The Win32 port of GCC and related tools and information can be reached via: http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
ASKER
The README file says ...
You MUST have Cygwin b20.1 (the "full" distribution) already installed.
Where do I get b20.1?
You MUST have Cygwin b20.1 (the "full" distribution) already installed.
Where do I get b20.1?
No you don't, if you look further on the page you'll see a link to the mingw32 version. This will bring you to: ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/
Cygwin and MinGw32
The Cygwin version is freely avavilable and distributed by cygnus (http://sourceware.cygnus.com/cygwin/). It falls under the GPL, which ultimately means you can can distribute software build with cygwin gcc as freeware. The Cygwin distibution comes with a special dll for the C runtime library.
The Mingw32 distribution falls under the LPGL, which means you can distribute software built with it under any condition. It uses the crtdll (or msvcrt) dll available on every windows system.
For more information on this license business: http://www.xraylith.wisc.edu/~khan/software/gnu-win32/x86-win32-ports.html
The mingw32 package I retrieved from the ftp seems complete but you may want to get additional information and manuals from cygwin. It comes with the cygin dll which is only required for some of the tools, not the executable you build (at least, so I am told).
MinGw32 / Gcc 2.8.1
An older (gcc 2.8.1) version is available through http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html
IDE's
The page also points to some ide's (http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ide-and-gui.html). These might be usefull but be carefull. I've tried JFE and it screwed up (?) my GCC installation. Make sure you can restore the original, clean gcc installation!
Hope this helps.
Cygwin and MinGw32
The Cygwin version is freely avavilable and distributed by cygnus (http://sourceware.cygnus.com/cygwin/). It falls under the GPL, which ultimately means you can can distribute software build with cygwin gcc as freeware. The Cygwin distibution comes with a special dll for the C runtime library.
The Mingw32 distribution falls under the LPGL, which means you can distribute software built with it under any condition. It uses the crtdll (or msvcrt) dll available on every windows system.
For more information on this license business: http://www.xraylith.wisc.edu/~khan/software/gnu-win32/x86-win32-ports.html
The mingw32 package I retrieved from the ftp seems complete but you may want to get additional information and manuals from cygwin. It comes with the cygin dll which is only required for some of the tools, not the executable you build (at least, so I am told).
MinGw32 / Gcc 2.8.1
An older (gcc 2.8.1) version is available through http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html
IDE's
The page also points to some ide's (http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ide-and-gui.html). These might be usefull but be carefull. I've tried JFE and it screwed up (?) my GCC installation. Make sure you can restore the original, clean gcc installation!
Hope this helps.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For windows, mingw32 seems a better...
> one ...
I'm not sure that any C++ compiler is -fully- ANSI compiliant. but you can get gcc (which comes fairly close) from:
http://gcc.gnu.org/