Looking for a free compiler
Can someone give me the URL for a good free compiler. I think i've heard GNU? is supposed to be good but if there is better I'd appreciate a URL. Thx
[EDIT]: stop yelling, and I don't think "compilage" is a word. -fel
Edited by - felisandria on May 8, 2001 2:03:24 PM
GNU is at http://gcc.gnu.org/. It''s command-line based thugh, so prepare to do a lot of typing if you plan to use it. The only other good free one I know of is Dev-C++. It''s basically a ripoff of MSVC++, which can be downloaded from www.sourceforge.net (just do a search for dev-c++ there)
-Deku-chan
DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)
-Deku-chan
DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)
and Dev-C++ uses MinGW32 which is basically a win32 port of gcc
www.bloodshed.net
www.bloodshed.net
Sort of, but I think it needs special libraries made specifically for it. It comes shipped with OpenGL, so that''s no problem. Directx on the other hand, you need to download the DevC++ libraries-- and I don''t know the URL.
The reason some APIs and libraries are not compatible with some compilers, I''d say, is because they might use some features that the compiler doesn''t support. Other than that, they''re just code, so theoretically they should work.
Take for instance boolean variables. To declare a bool variable in VC++6, you''d simply write:
bool someVar;
But some compilers require bool to be capitalized, like this:
BOOL someVar;
So an awful lot of editing of the libraries'' sources is necessary to make it compatible with your compiler. This is not a fun job to do.
The reason some APIs and libraries are not compatible with some compilers, I''d say, is because they might use some features that the compiler doesn''t support. Other than that, they''re just code, so theoretically they should work.
Take for instance boolean variables. To declare a bool variable in VC++6, you''d simply write:
bool someVar;
But some compilers require bool to be capitalized, like this:
BOOL someVar;
So an awful lot of editing of the libraries'' sources is necessary to make it compatible with your compiler. This is not a fun job to do.
May 08, 2001 02:50 PM
dev-c++ ships with it''s own openGl libraries wich work perfectly. I''m not to sure tough about directX.
@some guy: couldnt you do something like
typedef BOOL bool;
to fix it, instead of changing every bool entry...
@some guy: couldnt you do something like
typedef BOOL bool;
to fix it, instead of changing every bool entry...
BOOL is a int, and it''s used by the Win32 API (you know, since the API is in C and bool is a C++ type).
The libraries don''t use features the compiler doesn''t support, they''re just in a different object file format (just in case you''re wondering, MSVC''s object files are 100% fubar).
The libraries don''t use features the compiler doesn''t support, they''re just in a different object file format (just in case you''re wondering, MSVC''s object files are 100% fubar).
I hate to be a sort of downer but, I think that Dev-C++ is a sucky development environment. I like the interface and everything but it does have alot of bugs in my opinion, i''ve emailed the coders for the compiler about some of the problems ive encountered with no luck. I just finally got tired of it and bought an introductory compiler, C++ Programming Kit 5.0 comes with Borland 5.0, it won''t allow for distribution of the programs you create but is good for learning, also does anyone know how much the cheapest Borland 5.0 kit is that will allow you to actually distribute your software?
Check Borland.com for a free copy of Borland C++ 5.0 (Command Line). Go to objectcentral.com for a decent (not as nice as a professional one, but it works) IDE called VIDE, it works for Borland among others. Remember to set the font, and setup the pathes before you try to use it.
![Resist Windows XP''s Invasive Production Activation Technology!](http://druidgames.warfactory.com/Out_Source/resist.jpg)
http://druidgames.cjb.net/
![Resist Windows XP''s Invasive Production Activation Technology!](http://druidgames.warfactory.com/Out_Source/resist.jpg)
http://druidgames.cjb.net/
Go check out Borland. I use it and it works great for me. Instead of an IDE I use a quite advanced text editor. Its called Code-Genie and supports syntax highlighting, can capture output from programs, like borlands compiler. Has support for hexediting and more. Works fine for me, the only thing I lack is a good debugger. Borlands turbo debugger, which also is free, works but if i found something else I would abandon it swiftly.
Snale
+--My humble and superior homepage
Snale
+--My humble and superior homepage
Snale+--My humble and superior homepage
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement