From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: GPC fails - why? Date: 19 Sep 2001 10:25:20 GMT Organization: Aachen University of Technology (RWTH) Lines: 44 Message-ID: <9o9rqg$iro$1@nets3.rz.RWTH-Aachen.DE> References: <3BA7D8B0 DOT 47526F9E AT yahoo DOT com DOT NOSPAM> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1000895120 19320 137.226.32.75 (19 Sep 2001 10:25:20 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 19 Sep 2001 10:25:20 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com CBFalconer wrote: > Just downloaded and installed GPC20bb, together with gcc2953b and > gpp2953b. I get the following on first trial: I suspect you have the wrong GPC package. Or some serious installation error in your general DJGPP setup. >>#include "..." search starts here: >>#include <...> search starts here: >> /usr/local/include >> JDIR/i586-pc-msdosdjgpp/include This is seriously damaged. Unless it got mashed in transport, you should try to find out what ate the "$D" that's missing at the front of that line. But see the end of this message, first. I hope you didn't edit DJGPP.ENV, did you? >> -o hello c:/djgpp/lib/crt0.o -Lc:/djgpp/lib/gcc-lib/djgpp/2.952 [...] >>gpc.exe: installation problem, cannot exec `-o': No such file or \ >> directory (ENOENT) This one's the real bugger. There should have been the full pathname of the linker program ('ld' or 'collect2' usually) at the beginning of that line, before the '-o hello'. > [1] c:\djgpp>dir /4 /s lib\gcc-lib\djgpp > Volume in drive C is W98SYSFAT32 Serial number is 39EB:49EB > Directory of C:\djgpp\lib\gcc-lib\djgpp\* > [.] [..] [2.952] > [2.953] > 0 bytes in 0 files and 4 dirs This smells of version mixup. You have directories from two different GCC releases sitting around. The contents of other directories confirms it: you've mixed GPC version 2.95.2 with GCC version 2.95.3. That's exactly the reason for your troubles, I think. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.