www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/23/10:23:22

Date: Fri, 23 Nov 2001 16:19:03 +0100 (MET)
From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
Message-Id: <200111231519.QAA03778@lws256.lu.erisoft.se>
To: djgpp AT delorie DOT com
Subject: Re: Installation problem (TRIS!)
Newsgroups: comp.os.msdos.djgpp
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <2110-Fri23Nov2001095945+0200-eliz AT is DOT elta DOT co DOT il> you wrote:
: > From: "Sara Bernardini" <sarabern AT tiscalinet DOT it>
: > Date: Thu, 22 Nov 2001 23:21:50 +0100
: > 
: > The file 'prova.c' does not live inside the DJGPP source tree, but in =
: > another directory ("ling&trad") from which I call gcc in the following =
: > way:
: > 
: > D:\ling&trad>gcc prova.c
: > 
: > If I try to put the 'prova.c' file in the djgpp directory and in =
: > particular in the subdirectory BIN (where is the file gcc.exe) I receive =
: > the following message error:
: > 
: > 
: > D:\Programmi\DJGPP\BIN>gcc prova.c
: > prova.c:1: string.h: No such file or directory (ENOENT)
: > prova.c:2: stdio.h: No such file or directory (ENOENT)

: This is expected: GCC cannot guess where your source is.  You should
: generally compile in the same directory where the source files are.

But shouldn't it find the header files at least? It looks to me like
Sara has forgotten to install djdev203.zip.

Plus that "&" in the path might be a bad idea. Try to use a directory
without & in the path.


Right,

						MartinS

- Raw text -


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