Article View: gnu.gcc.help
Article #49694cc1plus intallation problem under SCO
From: R. Day
Date: Sun, 26 Dec 1993 02:41
Date: Sun, 26 Dec 1993 02:41
44 lines
2246 bytes
2246 bytes
Forgive the cross-posting, I'm never sure if what I've found is
a bug or just some stupidity on my part.
I did a full gcc-2.5.7 build under SCO 3.2v4.2, with the config
option "i486-sco3.2v4.2", using both gnu as and ld. I made the entire
stage1, stage2, compare, and everything worked. I finished it off with
$ make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O"
so I should have C, C++, Objective C and the proto tools. So far,
so good. (Trying to make objc-runtime failed as it did not know
how to make hash.o. Any hints? Could this possibly be the problem?
I doubt it.)
If I write the ubiquitous "hello, world" program, this compiles
nicely with
$ gcc hello.c
However, trying
$ g++ hello.c
fails miserably. The culprit is the cc1plus program
/usr/local/lib/gcc-lib/i486-sco3.2v4.2/2.5.7/cc1plus. The error
message I get is:
gcc: Installation problem, cannot exec cc1plus. No such file or
directory.
Well, the above file has no "x" permission bits turned on. The
"file" command thinks it's just "data". I used chmod to turn on
execute permissions on that file. Once again, "file" still thinks
the file is type "data". This time, running "g++ hello.c"
generates:
gcc: Installation problem, <reference to that file>, Exec format error.
This is the reason I can't build libg++-2.5.2. Any reason why this
should be happening? I don't recall any build errors that should
have affected this.
R. Day
Calgary UNIX Users Group
Technical Details
Message-ID:
<CILDzt.9x8@cuug.ab.ca>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cuug.ab.CA!rpjdayReferences:
<CIDwEM.6BM@cuug.ab.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,44d9cfcedeb39110 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-25 18:42:19 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cuug.ab.CA!rpjday From: rpjday@cuug.ab.CA (R. Day) Newsgroups: gnu.gcc.help Subject: cc1plus intallation problem under SCO Followup-To: gnu.gcc.help,gnu.g++.help Date: 25 Dec 1993 21:41:51 -0500 Organization: Calgary UNIX User's Group Lines: 46 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <CILDzt.9x8@cuug.ab.ca> References: <CIDwEM.6BM@cuug.ab.ca>