From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: GCC can't find the INCLUDE files. (Ed de Saegher) Date: Tue, 4 Mar 1997 04:06:21 +0000 Organization: None Distribution: world Message-ID: References: <3314C871 DOT 33B4 AT boe00 DOT bowiestate DOT edu> <5f9eq7$jj7$1 AT news DOT Zwolle DOT NL DOT net> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 37 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <5f9eq7$jj7$1 AT news DOT Zwolle DOT NL DOT net>, Ed de Saegher writes > >Mike , I have the same problem , I think. > >When I try to compile the simple "Hello.c " - pgm. >In directory c:\dgjpp\bin I type: >gcc -d c:\dgjpp\samples\hello\hello.c What does -d do?? (I can't be bothered to RTFM.;-) Why do I have to keep using -lm or -lallegro ???? >I get the message "stdio.h : file not found" >In directory c:\dgjpp\include there is a file stdio.h !!!! > >Listing of the hello.c pgm (in directory c:\dgjpp\samples\hello) : > >#include > Why do you have this in the middle of your source??? ;-) ****** >Ed de Saegher >Westknollendam >Nederland ****** > >main() > >{ > printf("Hello, world"\n); >} > > > -- David Jenkins