DJGPP installation?

Started by
0 comments, last by Slapzilla 23 years, 10 months ago
can someone help me get DJGPP up and running? I went to the DJGPP downloads and just like every other compiler download they had to make it difficult. There''s 500 different downloads, none of which are named anything comprehendable, and the FAQ is about as vague as it gets. I''m not much of a programmer, but I can''t get very far if I can''t compile! =D So can anyone help me out? I''m using c to program with, and I know there''s c-specific downloads here. I just wish they would have made a zip of all the stuff I need, instead of a ton of individual downloads. Is there somewhere I can get JUST the stuff I need at?
Advertisement
The best way to get only what you need is to use the Zip Picker on DJGPP''s website:

http://www.delorie.com/djgpp/zip-picker.html

It will show you what zips you''ll need.

Basically you download the files, unzip them (include subfolders) into a directory (c:\djgpp is recommended), then add this one line in your autoexec.bat:

SET DJGPP=C:\DJGPP\DJGPP.ENV

It''s also a good idea to add the C:\djgpp\bin directory to your path in autoexec.bat.

To compile a C file, you can either use an IDE like RHIDE, or just type this line in DOS:

gcc -s -Wall whatever.c -o whatever.exe

I''ve set up a page detailing how to install DJGPP, so you might want to take a look:

http://www.geocities.com/SiliconValley/Horizon/4288/gp.html

Feel free to ask me any questions; I''ll be happy to help you out.

Regards,
Leo
lambda70@hotmail.com


This topic is closed to new replies.

Advertisement