🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #302

Re: Installing gcc 2.3.3 and libg++ 2.3

#302
From: Stephen C. Fitch
Date: Wed, 06 Jan 1993 14:32
72 lines
3279 bytes
In a previous article, br762@cleveland.Freenet.Edu (Tim Werner) says:

>
>In a previous article, louqun@cs.tamu.edu (Qun Lou) says:
>
>>I finally installed gcc 2.3.3 and libg++ 2.3 successfully 
>>The problems I mentioned in my previous email disappeared.
>>
>>I wish to share the experience with other people who
>>would be installing gcc or libg++ on HP or other computers.
>>
>>1. Before installing gcc 2.3.3, I deleted all the previous gcc stuff in 
>>/usr/local/lib/gcc-lib and in /usr/local/bin.
>>
>>2. Necessary files for successful installation:
>>
>>bison  in /usr/local/bin
>>gas    as emphasized in gcc 2.3.3 README, gas should be installed *before*
>>       installing gcc as '/usr/local/lib/gcc-lib/hp835-hpux/2.3.3/as'
>
>I am trying to build libg++ on a sun3 running SunOS, and getting the following:
>rootme=`pwd`/ ; export rootme; CC="cc "; export CC; CXX="gcc  "; export CXX; CON
>FIG_NM="nm"; export CONFIG_NM; ./utils/gen-params LIB_VERSION=2.3  >tmp-params.h
>nm: dummy.o: cannot open
>nm: dummy.o: cannot open
>nm failed to find FUNC in dummy.o!
>./utils/gen-params: -1: bad number
>make[1]: *** [_G_config.h] Error 1
>make: *** [all-libg++] Error 1
>
>I am trying to build these libs in a non-standard path. Although I set 'prefix'
>to the path for gcc (also non-standard), make isn't finding it, as you can see
>from the above (CC="cc "; export CC; CXX="gcc  ").
>
>Has anyone else had and solved this problem? Is bison and gas really the key?
>
>Everything has to be built in a non-standard path. I can't get the sys-admin
>to help with installation until everything is working.
>
>thanks
>tim
>werner@sparcserver.mc.ab.com
>-- 
>

I'm also experiencing the same problems under SunOS 4.1.3 on a SparcStation 1.
I have to maintain my original GCC 1.37 environment so I wish to build/test/
and release ( to a a select few at the start) GCC 2.3.2 and libg++2.3. I have
attempted to build under:

/usr/local/tmp

I have:

bin                     bison-1.19              lib                     
binutils-2.0            gcc-2.3.2               libg++-2.3
binutils-2.0.tar.Z      include                 libg++-2.3.tar.Z
binutils-2.0_OU         info                    man


After having run configure sun4 -prefix=/usr/local/tmp and make I see
error messages as reported by the other poster.

Do I need Gas, nm, ld and the binutils ? What sort of directory
structure should I use to compile libg++2.3. How can I get the
libg++2.3 gen use my new GCC 2.3.2 compiler ( to be found below 
/usr/local/tmp/bin ). Lots of questions, not a lot of answers...

If anyone reports a fix to this problem, let me know, thanks.

Steve.
Technical Details
Message-ID: <1ieqhdINNqd8@usenet.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cc971
References: <1iehklINNkij@usenet.INS.CWRU.Edu> <1hr7u5INNqs7@tamsun.tamu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cc971
From: cc971@cleveland.Freenet.Edu (Stephen  C. Fitch)
Newsgroups: gnu.g++,gnu.g++.help
Subject: Re: Installing gcc 2.3.3 and libg++ 2.3
Date: 6 Jan 1993 14:32:13 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Lines: 72
Message-ID: <1ieqhdINNqd8@usenet.INS.CWRU.Edu>
References: <1iehklINNkij@usenet.INS.CWRU.Edu> <1hr7u5INNqs7@tamsun.tamu.edu>
Reply-To: cc971@cleveland.Freenet.Edu (Stephen  C. Fitch)
NNTP-Posting-Host: hela.ins.cwru.edu