Page 1 of 1

Is it possible to install gcc compiler under Windows?

Posted: Tue Sep 14, 2004 9:36 am
by oldbam
I have Microsoft Visual C and run it under Windows 2000. But there are many differences between gcc compiler and my own. Is it possible to install gcc compiler and use it with Microsoft Visual C? Have anyone had the same problems? What can you advise me?
Plz, help.

Posted: Tue Sep 14, 2004 1:10 pm
by UFP2161
You can try installing Cygwin.

Posted: Tue Sep 14, 2004 9:57 pm
by anupam
A very good compiler program indeed for windows users. :lol:

Posted: Wed Sep 15, 2004 11:54 am
by oldbam
And how to install gcc after cygwin? Is it possible to run tar gzip with cygwin, as i have found only such archives of gcc on the web?

Posted: Wed Sep 15, 2004 12:46 pm
by Per
The easiest way is to add the gcc package when you are installing cygwin. You can also add the package later by running the cygwin setup program again.

Posted: Thu Sep 16, 2004 10:16 am
by oldbam
Thanks a lot! I'll try it ...

Posted: Thu Sep 16, 2004 5:37 pm
by oldbam
And what do i have to write in the cygwin.bat to use gcc compiler?

Posted: Thu Sep 16, 2004 11:30 pm
by Krzysztof Duleba
Have you ever worked with a command line shell? To use gcc, just start bash (for instance with cygwin.bat) and then type gcc (or g++).

Posted: Fri Sep 17, 2004 1:54 am
by UFP2161
It may also be possible to use C:\Cygwin\bin\gcc.exe (or g++.exe) with your editor.. I would search google for that though..

Posted: Fri Sep 17, 2004 10:43 am
by oldbam
OK. Thanks, maybe i have problems with my cygwin, as there are no files in the bin directory... And my cygwin.bat returns "Bad name file"

Posted: Fri Sep 17, 2004 1:35 pm
by Krzysztof Duleba
Go to cygwin.com and follow installation instructions. Don't do anything manually, use setup.exe. If you don't have /bin directory, then you haven't installed cygwin at all.

Posted: Fri Sep 17, 2004 4:07 pm
by oldbam
Great thanks! :lol: