DEV-C++ and Cygwin compiler !!!!!

This is a discussion on DEV-C++ and Cygwin compiler !!!!! within the C++ Programming forums, part of the General Programming Boards category; Hi, I was advised that DEV-C++ can work with GNU Cygwin compiler, however, the instructions in DEV-C++ want me to ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    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"?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    winxp?!?!?! no!!!! anyways, im not sure if cygwin even works in winxp ... does it?

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    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.
    Jim S.

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    why not use mingw that comes with dev-c++? if you think its too old of a version, just download the new one and install it in the dev-c++ folder, it should work.

  5. #5
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    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

  6. #6
    Rebooted Inquirer's Avatar
    Join Date
    Apr 2002
    Posts
    281
    RTFM! Read The Fricking Manual!

    Look it up in XP help. If XP doesn't have help, ditch it for 95/98 or go to a unix.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  7. #7
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    >Look it up in XP help

    Why would it be in XP help. Last time a used it (quite a while ago), open Dev C++, go to compiler options and tick the relevent box.

  8. #8
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Sorensen, You aren't dead. Wahooooo!

  9. #9
    Registered User
    Join Date
    Apr 2002
    Posts
    95
    If it means changing the PATH right click on my computer select properties choose the advance tab click on environmental variables and change the path there. Hope that helps though I'm guessing as to the change.

  10. #10
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    Question 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!
    Jim S.

  11. #11
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    I'm not sure about XP but Windows2K works just like rip1968 says.

    Control Panel->System->Advanced Tab->Environment Variables.
    The box that says system variables is roughly equivalent to the autoexe.bat. Add the stuff you need there and give that a try.

    That's how it works in Win2K at least, I'm guess it's close in XP.
    The file might be hidden on XP too, I'm not sure. Make sure you have your folder properties to show all files.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  12. #12
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    Question DEV-C++ and Cygwin compiler !!!!!

    Hey thank you, I'll give it a try.....
    Jim S.

  13. #13
    Registered User
    Join Date
    Feb 2002
    Posts
    20
    what is the best compiler for learning besides DEV-C++?
    Jim S.

  14. #14
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    None

  15. #15
    Rebooted Inquirer's Avatar
    Join Date
    Apr 2002
    Posts
    281
    look in XP help for "Environment Variables" or "autoexec.bat"

    It may just be that nothing needs the autoexec file so it wasnt created, and you can creat it yourself, who knows. Someone was probably trippin when making XP....

    Sorry if i am a bit prejudiced against XP
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21