delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/04/01:06:52

From: David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk>
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: <ABw$pIA9+5GzEwV3@jenkinsdavid.demon.co.uk>
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
<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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019