Skip to main content
gamedev.net
🔒 Locked

djgpp help

Started by CppUser 1 reply 200+ views
Original Post
CppUser
CppUser
hi, I need help with the use of Djgpp. I got it all setup and I compiled a little program I made with it and everything is going well. The only problem I have is that when compiling, after Djgpp makes the .exe file it keeps putting it into the "bin" directory! Is there a way to tell djgpp, when creating .exe files to put it in a directory I want? ex: C:\djgpp\save - to put .exe file here instead of the bin folder
TravisWells
TravisWells
Are you using -o when you compile? Like:

gcc test.cpp -o test.exe

You should be able to do:

gcc test.cpp -o C:\djgpp\save\test.exe
CppUser
CppUser
No, actually I''m using RHIDE (the IDE for djgpp) for compiling.
I can''t find the option in the IDE where you can change the directory to make the .exe in.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.