delorie.com/archives/browse.cgi | search |
Date: | Fri, 23 Nov 2001 09:59:46 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | "Sara Bernardini" <sarabern AT tiscalinet DOT it> |
Message-Id: | <2110-Fri23Nov2001095945+0200-eliz@is.elta.co.il> |
X-Mailer: | emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 |
CC: | broeker AT physik DOT rwth-aachen DOT de, djgpp AT delorie DOT com |
In-reply-to: | <003301c173a4$15abdca0$897a0b3e@pmeridia> |
(sarabern AT tiscalinet DOT it) | |
Subject: | Re: Installation problem (TRIS!) |
References: | <003301c173a4$15abdca0$897a0b3e AT pmeridia> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> 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. Alternatively, tell GCC where to find the source, like this: gcc d:/ling&trad/prova.c
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |