🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50851

linking trouble..can't incorporate libio.a into libg++.a

#50851
From: David Gary Friedman
Date: Mon, 09 Aug 1993 00:18
51 lines
2559 bytes
Simply put... On a sparc 10 running sunos4.1.3, I need to reconfigure
the library for libg++2.4 to include libg++-2.4/libg++/iostream/libio.a
but the README and Makefile files in all directories don't show me how
to do this.

More complete description: ..........................  

I'm running gcc-2.4.5 on a sparc-sun-sunos4.1.3 configured with gnu ld
(see binutils-2.1.1) and gnu as (gas 2.1.1) options into a temp dir
"/u14/local" (for testing).

I've compiled libg++-2.4 explicitly using my test version gcc-2.4.5
"/u14/local/bin/gcc".  (I know because before I used the wrong version
and I received errors in builting type casting which is an error
previously discussed that indicates you didn't use the new gcc to
compile the new g++ library.)

MY TROUBLE:
I am trying to compile a g++ function that works fine on the old
version but the function I need are in the library of libg++-2.4
under the directory "libg++-2.4/libg++/iostream" in the archive "libio.a"

I've used [ gmake CC="/u14/local/bin/g++ -v" ] so I know it is 
invoking /u14/local/bin/gcc with the proper arguments and I get
missing functions that I can find in my old /usr/local/lib/gcc-lib/libg++.a
but not in the new /u14/local/lib/libg++.a.  I've found them in the
iostream subdirectory but I don't know how (after delving into README's
and Makefile's) to add them to libg++.a

Simply...how can I add libio.a (libg++-2.4/libg++/iostream/libio.a) 
into libg++.a?

As for the easiest solution, compiling programs by coping libio.a 
to /u14/local/lib and compiling with g++ having the full path and
link names of "g++ -L/u14/local/lib -lio" ...I have not been able to
make it work.


Thank you,
David
---
David Gary Friedman
System Administrator		Friedman@bu.edu	
ENG SPILAB, Boston Univ.	engdbuc@buacca.bitnet

--
---
David Gary Friedman
System Administrator		friedman@bu.edu
ENG SPILAB, Boston Univ.	engdbuc@buacca.bitnet
Technical Details
Message-ID: <FRIEDMAN.93Aug9001814@raven.bu.edu>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!olivea!news.bu.edu!nntp-read!friedman

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6187d103cc635927,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-08-08 21:22:54 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!olivea!news.bu.edu!nntp-read!friedman
From: friedman@raven.bu.edu (David Gary Friedman)
Newsgroups: gnu.gcc.help
Subject: linking trouble..can't incorporate libio.a into libg++.a
Date: 9 Aug 93 00:18:14
Organization: Signal Processing and Interpretation Lab
Lines: 51
Distribution: gnu
Message-ID: <FRIEDMAN.93Aug9001814@raven.bu.edu>
NNTP-Posting-Host: raven.bu.edu