Mail Archives: djgpp/1997/03/04/01:06:52
In article <5f9eq7$jj7$1 AT news DOT Zwolle DOT NL DOT net>, Ed de Saegher
<Edde DOT Saegher AT net DOT HCC DOT nl> 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 <stdio.h>
>
Why do you have this in the middle of your source??? ;-)
******
>Ed de Saegher
>Westknollendam
>Nederland
******
>
>main()
>
>{
> printf("Hello, world"\n);
>}
>
>
>
--
David Jenkins
- Raw text -