Article View: gnu.gcc.help
Article #51992gcc-2.3.3 - installation problem with depot on SunOS 4.1.2
From: Rob Hutten
Date: Tue, 09 Feb 1993 18:36
Date: Tue, 09 Feb 1993 18:36
41 lines
2260 bytes
2260 bytes
Forgive me if this is a FAQ or something equally stupid. I've
build gcc-2.3.3 on our Sun 670MP running SunOS 4.1.2. We use depot to
manage local software installations. We have 2.2.2 living in
/csdepot/gcc-2.2.2 (depot creates the symbolic links to
/usr/local/{bin,lib,man} etc.) and we're trying to stick 2.3.3 in
/usr/contrib/depot, where links will be build for distribution in
/usr/contrib/{bin,lib,man} etc. Got all that? :)
The reason for having both versions on the system simultaneously is
that we can't remove 2.2.2 until we're sure 2.3.3 is stable.
Anyway, everything builds without complaint, but when I try to compile a
simple program:
rob@orchid(p7):Test 36> /usr/contrib/bin/gcc str.c
0: unknown flag -lang-c
/usr/contrib/bin/gcc: installation problem, cannot exec cc1: No such file or
directory
I've set the prefix in the makefile to /usr/contrib/depot/gcc-2.3.3 - is
it not enough to change the destination for gcc support files?
Where would the gcc in /usr/contrib/bin be looking for cc1? depot put
it in /usr/contrib/lib/gcc-lib/sun4/2.3.3/cc1.
I used the following steps to build the compiler:
configure sun4
[edit makefile, set prefix = /usr/contrib/depot/gcc-2.3.3]
make LANGUAGES=c
make stage1
make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O"
make stage2
make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O"
make compare [no problems at this point]
make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O"
Thanks.
--
Rob Hutten, UNIX Systems Programmer (902) 542-2201x158
Acadia University, Wolfville, NS rob.hutten@acadiau.ca
Technical Details
Message-ID:
<1993Feb9.183641.8993@dragon.acadiau.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!utcsri!newsflash.concordia.ca!nstn.ns.ca!dragon.acadiau.ca!robShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9717e31dbf192909,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-09 10:36:41 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!utcsri!newsflash.concordia.ca!nstn.ns.ca!dragon.acadiau.ca!rob From: rob@dragon.acadiau.ca (Rob Hutten) Subject: gcc-2.3.3 - installation problem with depot on SunOS 4.1.2 Message-ID: <1993Feb9.183641.8993@dragon.acadiau.ca> Organization: Acadia University Date: Tue, 9 Feb 1993 18:36:41 GMT Lines: 41