www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/10/15:30:23

From: "Tokihiro Funakoshi" <Kiyokofunakoshi AT email DOT msn DOT com>
Subject: #include problem
Date: Mon, 10 May 1999 21:02:53 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <u5iEwexm#GA.249@cpmsnbbsa02>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am having problem when using #include commands in a file.
Everytime I type in
:>gcc -o file.exe file.c
I get a message:
file.c:n: file.h: No such file or directory <ENOENT>
where file.c is the file which I have compiled, n is the line number which
the include command is, and the file.h is a file from the include directory
eg. stdio.h.
What is wrong?
I have got lfn=n in djgpp.env and I've got DJGPP=C:\djgpp\djgpp.env and
PATH=C:\djgpp\bin;%path% in my autoexec.bat already, by the way.


- Raw text -


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