delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/04/11:32:43

From: Jean-Michel Brissiaud <brissiau AT miage DOT isi DOT u-psud DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GCC compile ????
Date: Tue, 04 Mar 1997 16:16:56 +0100
Organization: M.I.A.G.E Universite d'Orsay
Message-ID: <331C3CE8.41C6@miage.isi.u-psud.fr>
References: <331CB460 DOT 5BD4 AT worldonline DOT nl>
NNTP-Posting-Host: miage.isi.u-psud.fr
Mime-Version: 1.0
Lines: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

J. van Eijnsbergen wrote:

> I have just downloaded GCC (all the files needed for C and C++).
> GCC returns an error while compiling a simple c-program (called test).
> GCC answers with: test.c:1: stdio: No such file or directory (ENOENT)

If you use in your code this line
#include <stdio>
to include the stdio file, you're wrong. You should type
#include <stdio.h>

If it is not the case, try to check the include path in DJGPP.ENV file
in the GCC section.

Good luck !

- Raw text -


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