cvs.gedasymbols.org/archives/browse.cgi | search |
From: | dancheng AT pacific DOT net DOT sg (Daniel Cheng) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Help: Newbie can't compile a ' Hello world' program |
Date: | Wed, 08 Apr 1998 13:53:42 GMT |
Organization: | PowerGrid |
Lines: | 49 |
Message-ID: | <6gfvq9$ref$1@newton.pacific.net.sg> |
NNTP-Posting-Host: | dyn103ppp65.pacific.net.sg |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 COPYING.DJ [FAQ] 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: gcc filename.c 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. Daniel
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |