DEV-C++ and Cygwin compiler !!!!!
Hi, I was advised that DEV-C++ can work with GNU Cygwin compiler, however, the instructions in DEV-C++ want me to modify "autoexec.bat" and I have Windows XP. Windows XP doesn't have that file. Would anyone know what file I should modify in Win XP instead of "autoexec.bat"?
DEV-C++ and Cygwin compiler !!!!!
It seems that it does, I installed it and so far no problem. I just want to link it to DEV-C++ so I can use its editor.
DEV-C++ and Cygwin compiler !!!!!
Because Cygwin is what they use at school and I want to be on the same page as them.
Thanks
DEV-C++ and Cygwin compiler !!!!!
This is what the help file in DEV-C++ says:
* Configuring for Cygwin compiler:
Run Dev-C++, goto Compiler Options (in Options menu). Remove all C, C++ and Lib directories, and replace them by a .
Modify the Bin directory name to the one used in your Cygwin installation (like C:\cygnus\cygwin-b20\H-i586-cygwin32\bin). Click OK to save changes.
Open your autoexec.bat file (right-click on it in the windows explorer and click Edit). Add the following lines at the end of it (change the directories according to your Cygwin distribution, the following assume you are using CYGWIN B20 full package):
SET PATH=C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;%PATH%
SET C_INCLUDE_PATH=C:\cygnus\cygwin-b20\include
SET CPP_INCLUDE_PATH=C:\cygnus\cygwin-b20\include\g++;C:\cygnus\cygwin-b20\include
SET GCC_EXEC_PREFIX=C:\cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib
SET LIBRARY_PATH=C:\cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\lib
Save your autoexec.bat file and reboot your system.
So there is no autoexec.bat in xp, I guess it's really different. I fsome has done this, any feedback will be appreciated.
Thanks again!
DEV-C++ and Cygwin compiler !!!!!
Hey thank you, I'll give it a try.....