Archived

This topic is now archived and is closed to further replies.

DJGPP installation?

This topic is 6387 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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


Share this post


Link to post
Share on other sites