Message-ID: <003301c173a4$15abdca0$897a0b3e@pmeridia> From: "Sara Bernardini" To: "Hans-Bernhard Broeker" Cc: Subject: Installation problem (TRIS!) Date: Thu, 22 Nov 2001 23:21:50 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0030_01C173AC.76C0CAC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0030_01C173AC.76C0CAC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I received your answer . Thanks for your quickness in answering me. 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) 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__=3D2 -D__GNUC_MINOR__=3D7 -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. prova.c:1: string.h: No such file or directory (ENOENT) prova.c:2: stdio.h: No such file or directory (ENOENT) When the file is not inside the DJGPP source tree but in the "ling&trad" = directory, if I type gcc -v prova.c I have the following message on the = output: D:\ling&trad>gcc -v prova.c gcc version 2.7.2.1 cpp -lang-c -v -undef -D__GNUC__=3D2 -D__GNUC_MINOR__=3D7 -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 gcc.exe: installation problem, cannot exec `cpp': No such file or = directory (ENOENT) I have the same previous message if I put the 'prova.c' file in the main = directory for DJGPP, D:\Programmi\DJGPP. Finally if I type 'set' command on prompt I have : D:\Programmi\DJGPP\BIN>set TMP=3DC:\WINDOWS\TEMP TEMP=3DC:\WINDOWS\TEMP PROMPT=3D$p$g winbootdir=3DC:\WINDOWS COMSPEC=3DC:\WINDOWS\COMMAND.COM SBPCI=3DC:\SBPCI CLASSPATH=3DC:\orawin95\LITE\CLASSES\OLJDK11.JAR;C:\orawin95\LITE\CLASSES= \OLITE40. JAR DJGPP=3DD:\Programmi\DJGPP\DJGPP.ENV PATH=3DD:\PROGRAMMI\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ORAWIN95\B= IN;C:\MSS QL7\BINN;D:\PROGRA~1\TCL\BIN;D:\PROGRAMMI\ECLIPSE\LIB\I386_NT windir=3DC:\WINDOWS BLASTER=3DA220 I7 D1 H7 P330 T6 CMDLINE=3Dgcc -v prova.c Might you please give me any suggestion? Thank you very much for your help. = = Sara ------=_NextPart_000_0030_01C173AC.76C0CAC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I received your answer . = Thanks for your=20 quickness in answering me.
 
The file 'prova.c' does not = live inside=20 the DJGPP source tree, but in another directory ("ling&trad") from = which I=20 call gcc in the following way:
 
D:\ling&trad>gcc = prova.c
 
If I try to put the = 'prova.c' file=20 in the djgpp directory and in particular in the subdirectory BIN (where = is the=20 file gcc.exe) I receive the following message error:
 
 
D:\Programmi\DJGPP\BIN>gcc=20 prova.c
prova.c:1: string.h: No such file or directory = (ENOENT)
prova.c:2:=20 stdio.h: No such file or directory (ENOENT)
If I type gcc -v prova.c = I have the=20 following message on the output:
 
 
D:\Programmi\DJGPP\BIN>gcc=20 -v prova.c
gcc version 2.7.2.1
 cpp -lang-c -v -undef = -D__GNUC__=3D2=20 -D__GNUC_MINOR__=3D7 -Dunix -Di386 -DGO32 -DMS
DOS -D__unix__ = -D__i386__=20 -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__
MSDOS = -Asystem(unix)=20 -Asystem(msdos) -Acpu(i386) -Amachine(i386) prova.c=20 C:\WIND
OWS\TEMP\ccbaaaaa
GNU CPP version 2.7.2.1 (80386, BSD=20 syntax)
#include "..." search starts here:
#include <...> = search=20 starts=20 here:
 /usr/local/include
 /usr/local/go32/include
&nb= sp;/usr/local/lib/gcc-lib/go32/2.7.2.1/include
 /usr/include
E= nd=20 of search list.
prova.c:1: string.h: No such file or directory=20 (ENOENT)
prova.c:2: stdio.h: No such file or directory=20 (ENOENT)
 
When = the file is=20 not inside the DJGPP source tree but in the = "ling&trad"=20 directory, if I type gcc -v prova.c I have the following message on the=20 output:
 
D:\ling&trad>gcc -v=20 prova.c
gcc version 2.7.2.1
 cpp -lang-c -v -undef = -D__GNUC__=3D2=20 -D__GNUC_MINOR__=3D7 -Dunix -Di386 -DGO32 -DMS
DOS -D__unix__ = -D__i386__=20 -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__
MSDOS = -Asystem(unix)=20 -Asystem(msdos) -Acpu(i386) -Amachine(i386) prova.c=20 C:\WIND
OWS\TEMP\ccbaaaaa
gcc.exe: installation problem, cannot = exec=20 `cpp': No such file or directory (ENOENT)
 
I have the same previous = message if I put=20 the 'prova.c' file in the main directory for DJGPP,=20 D:\Programmi\DJGPP.
 
Finally if I type 'set' = command on=20 prompt I have :
 
D:\Programmi\DJGPP\BIN>set
TMP=3DC:\WINDOWS\TEMP
TEMP=3D= C:\WINDOWS\TEMP
PROMPT=3D$p$g
winbootdir=3DC:\WINDOWS
COMSPEC=3D= C:\WINDOWS\COMMAND.COM
SBPCI=3DC:\SBPCI
CLASSPATH=3DC:\orawin95\LIT= E\CLASSES\OLJDK11.JAR;C:\orawin95\LITE\CLASSES\OLITE40.
JAR
DJGPP=3D= D:\Programmi\DJGPP\DJGPP.ENV
PATH=3DD:\PROGRAMMI\DJGPP\BIN;C:\WINDOWS;= C:\WINDOWS\COMMAND;C:\ORAWIN95\BIN;C:\MSS
QL7\BINN;D:\PROGRA~1\TCL\BIN= ;D:\PROGRAMMI\ECLIPSE\LIB\I386_NT
windir=3DC:\WINDOWS
BLASTER=3DA22= 0=20 I7 D1 H7 P330 T6
CMDLINE=3Dgcc -v prova.c
 
Might you = please give me any=20 suggestion?
 
Thank you very much for = your=20 help.
 
 
   =20             =    =20             =    =20             =    =20             =    =20             =    =20             =    =20             =    =20             =    =20            =    =20             =    =20             =     =20 Sara
 
 


 

 
 
------=_NextPart_000_0030_01C173AC.76C0CAC0--