www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/23/07:09:44

X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Fri, 23 Nov 2001 13:05:22 +0100 (MET)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
X-Sender: broeker AT acp3bf
To: Sara Bernardini <sarabern AT tiscalinet DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Installation problem (TRIS!)
In-Reply-To: <003301c173a4$15abdca0$897a0b3e@pmeridia>
Message-ID: <Pine.LNX.4.10.10111231256550.31709-100000@acp3bf>
MIME-Version: 1.0
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

On Thu, 22 Nov 2001, Sara Bernardini wrote:

> 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 means that something must have gone very wrong with how you
installed the djdev203.zip package or the DJGPP environment variable.

> If I type gcc -v prova.c I have the following message on the output:
> 
> 
> D:\Programmi\DJGPP\BIN>gcc -v prova.c
> gcc version 2.7.2.1
>  cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMS
> DOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__
> MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) prova.c C:\WIND
> OWS\TEMP\ccbaaaaa
> GNU CPP version 2.7.2.1 (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/local/include
>  /usr/local/go32/include
>  /usr/local/lib/gcc-lib/go32/2.7.2.1/include
>  /usr/include
> End of search list.

This means at close to 100% certainty that you didn't install djdev203.zip
at all, or got it very wrong.  And that you've installed an extremely old
version of GCC. We're at 2.95.2 for stable production use, now, with
version 3.0.2 coming up at the horizon.

You should have, among others:

	a file d:\programmi\djgpp\djgpp.env
	a directory d:\programmi\djgpp\include 
           (with lots of *.h files in it)
	a file d:\programmi\djgpp\manifest\djdev203.mft

> Might you please give me any suggestion?

One possibility is that the directory name 'programmi' is causing the
problem.  It's longer than 8 characters, and thus may not be visible to
DJGPP programs if you inadvertantly disabled long filenames (LFN=no), of
if the system doesn't support long filenames. Please try resetting DJGPP
and PATH so they contain "D:\progra~1\djgpp" instead of
"D:\programmi\djgpp".  Also check your DJGPP.ENV file

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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