Advertisement

GNU with VC++6 ??

Started by April 11, 2000 01:14 PM
3 comments, last by srmeister 24 years, 8 months ago
Can i use DJGPP with the Microsoft Developer studio? or what would happen if i put all include files from DJGPP to the include directory of MSVC ? thx
I use bcc5.5 (free borland tools) with vc++, added the bin''s directory to my path variable(c:\autoexec.bat);
did the other thing''s that were in the readme to set the include''s and lib''s;
added in the tools menu a menu entry that execute''s bcc32 with the current filepath as argument.
works fine with short c c++ programa''s and I still can compile with vc''s compiler.
For big project''s the key may lie in make.
Hope that help''s.
Advertisement
why not try it and find out?
i would definitely recommend backing up any files you''re replacing, though, as I can almost garuntee it won''t work.. curious what VS would exactly do though....
include files don''t contain the actual code, though. There would almost certainly be some things in one that wouldn''t match up with the other (the #pragma preprocessor commands, for example), so you''ll probably get errors messages about undefined symbols and such..

if you want to use it as an IDE for DJGPP, then I guess what the Anon suggested would work.. personally, I wouldn''t bother with it for DJGPP, since it''s for DOS programs anyway (I''ve heard they''re supporting windows now, but I don''t use it for that), and RhIDE works just fine for me...
ok thanx for your help but now where can i get RhIDE ?
the same place you get DJGPP (unless of course you got it on a CD-ROM with a book or something)

just go to www.delorie.com/djgpp/, and click on the Zip Picker, it lets you choose what you need, and tells you what files to download (before the Zip Picker, it was very difficult to figure out what files you need to download)

two quick things, though.. RhIDE is a DOS application (you can run it from a DOS Prompt window), just in case this turns you off.. and at least the version of RhIDE i have has a slight deficiency (easily solved though). DJGPP''s C++ library is called LIBSTDCXX.A, in the Lib directory, but when RhIDE calls for it, it uses -lstdcx, not -lstdcxx (an 8.3 thing i take it), so if you just go into DJGPP''s Lib directory, and copy LIBSTDCXX.A to LIBSTDCX.A, it''ll work just fine.. of course, if you don''t plan on doing any C++, you don''t need to do this.

This topic is closed to new replies.

Advertisement