I am a newbie to djgpp. I need some help to compile my first c program.
I outline below what I have done up till today.
I have downloaded the following zip files:
BNU281B.ZIP GCC280B.ZIP FAQ210B.ZIP DJDEV201.ZIP
RHIDE14B.ZIP MAK3761B.ZIP TXI390B.ZIP RSXDJ131.ZIP
They all unzipped successfully into the following directory structure
(D drive is my PC harddisk):
Directory of D:\djgpp
[.] [..] [BIN] [GNU] [INFO]
[MANIFEST] DJGPP.ENV [INCLUDE] [LIB] [TMP]
[ZONEINFO] [SHARE] [CONTRIB] [DOC] README.1ST
I run setdjgpp using the following command:
setdjgpp d:\djgpp d:/djgpp
I have checked that both djgpp and library_path are defined:
echo %library_path% gives d:\djgpp\lib
echo %djgpp% gives d:\djgpp\djgpp.env
Also, PATH has d:\djgpp\bin
When I tried to compile a c program such as:
I got the following two error messages:
No include path in which to find stdio.h
No include path in which to find stdlib.h
Have I missed out anything? BTW I have read the readme.1st and the FAQ,
but cannot figure out what else do I need to do.
I am running djgpp in a MSDOS window under Window95. I am using a PC with
pentium 200MHz processor and 32M memory.
Thank you for any assistance.