🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #335

g++ lib... anyone???

#335
From: Ron Skopitz
Date: Sat, 22 Aug 1992 17:50
69 lines
3162 bytes
To all those helpful people,

	Since my first request of almost a week was never responded to...
I'll try begging one more time.  We understand that this probably isn't a
"real" gcc problem (just operator trouble) but we would appreciate any
assistance you folks may have... PLEASE???


	First, let me say, THANKS! for all the help you've given us so
far! We'd never have made it.  Here's that one question i still have (I
know it's been a while).  The make of g++ lib fails, apparently at the
"ld" stage.  I've tried various methods of indicating pathnames, etc to ld
with the -l and -L options, but to no avail.  The compiler is being built
in an install directory and NOT into /usr or any of the "default" ld
search-paths, but all the gcc lib stuff headers etc. ought to be visible
via my path.  As requested, here is a transcript of the failed make. 
Again, sorry to bother you and thanks for the assistance, we're soooo
close!! 



make CC="gcc" CFLAGS="-g -O" CC="gcc" all
cd stdio; make all ...
cd test; make all ...       
rm -f libg++.a
        rootme=`pwd` ; export rootme ; cd src ; ar qc ../libg++.a *.o
        rootme=`pwd`; export rootme; cd iostream; \
                   ar qc ../libg++.a *.o
        cd ../libiberty; \
                  ar qc ../libg++/libg++.a `cat needed-list` strerror.o strsignal.o
        ranlib libg++.a
        touch .stmp-genclass
        touch .stmp-tests
        touch .stmp-etc
        (rootme=`pwd` ; export rootme ; cd src ; \ 
                       make "CC=gcc" "CFLAGS=-g -O" "XTRAFLAGS=" \
                        "AR=`if [ -f ${rootme}/../../binutils/ar ] ; \
                then echo ${rootme}/../../binutils/ar ; \
                else echo ar ; fi`" "RANLIB=`if [ -f ${rootme}/../../binutils/ranlib ] ; \
                then echo ${rootme}/../../binutils/ranlib ; \
                else echo ranlib ; fi`")
        gcc -o gperf new.o options.o iterator.o main.o gen-perf.o key-list.o list-node.o hash-table.o bool-array.o read-line.o std-err.o version.o  ../../libg++.a
0706-005 ld: Cannot find file: libgcc.a
        Check path name and permissions or
        use local problem reporting procedures.
0706-005 ld: Cannot find file: libgcc.a
        Check path name and permissions or
        use local problem reporting procedures.
make: 1254-004 The error code from the last command is 1.

Make Quitting.
make: 1254-004 The error code from the last command is 2.

Make Quitting.
make: 1254-004 The error code from the last command is 2.

Make Quitting.
make: 1254-004 The error code from the last command is 2.

Make Quitting.


Again... see if you can make any sense outa this.... we don't seem to be
able to... :(  

				Thanks again, 

					Ron Skopitz
					install2@st6000.sct.edu
Technical Details
Message-ID: <9208221750.AA43281@st6000.sct.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!st6000.sct.edu!install2

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!st6000.sct.edu!install2
From: install2@st6000.sct.edu (Ron Skopitz)
Subject: g++ lib... anyone???
Message-ID: <9208221750.AA43281@st6000.sct.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 22 Aug 1992 17:50:33 GMT
Lines: 69