From: Michael Noel Jones Newsgroups: comp.os.msdos.djgpp Subject: Re: How to Install DJGPP on Win 98 Date: Thu, 04 Jan 2001 10:09:38 GMT Organization: Deja.com Lines: 45 Message-ID: <931i50$u5l$1@nnrp1.deja.com> References: <3A5376FA DOT 59C144D1 AT datacomm DOT ch> NNTP-Posting-Host: 62.172.222.132 X-Article-Creation-Date: Thu Jan 04 10:09:38 2001 GMT X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) X-Http-Proxy: 1.0 PROXY-BADDOW1, 1.1 webcache (NetCache 4.1R5), 1.0 x57.deja.com:80 (Squid/1.1.22) for client 193.38.1.194, 62.172.222.132 X-MyDeja-Info: XMYDJUIDigirisu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <3A5376FA DOT 59C144D1 AT datacomm DOT ch>, amadritsch AT datacomm DOT ch wrote: > GCC.EXE: installation problem, cannot exec `cpp': No such file or > directory > > I looked at the FAQ's and, as recommended there, at the file > problems.txt and the capture Installation in info gcc, but didn't find > anything helpful. I have been having a similar problem on WinNT; Using gcc2.95.2, I was getting this same "installation problem: cannot exec 'cpp'". The FAQ says that with gcc2.8.x and older that cpp has been moved. It claims that the problems.txt file gives instructions on what to change in DJGPP.env, but as noted, there is no mention of this problem. The FAQ also claims that the "COMPILER_PATH" environment variable might need to be set. But fails to suggest what it might need to be set to. I eventually added D:\DJGPP\lib\gcc-lib\djgpp\2.952 to my PATH (this is where cpp, cpp1 etc reside). Now I get the error: C:\Program Files\DevStudio\MyProjects\VCServices\foo2>make d:/djgpp/bin/gpp.exe -c -o main.o main.cpp -IC:/[own_include_path]/include -ID:\DJGPP\include\sys cpp.exe: ../include/sys/version.h: No such file or directory (ENOENT) make.exe: *** [main.o] Error 1 (I get the same message whether I have the -ID:\DJGPP\include\sys in or not) Obviously cpp is looking in the wrong place for the include files. Where is the information on sorting this problem out? Why is it not in the FAQ? Why does the FAQ refer to a document that doesn't even mention the problem? P.S. One reply to this claimed that Andreas' DJGPP entry in PATH should be moved before the ESX entry....the PATH variable was listed and plainly contains no reference to ESX. (Unless it's in C:\WINDOWSor C:\WINDOWS\COMMAND) Sent via Deja.com http://www.deja.com/