Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 1995 22:21:28 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Nate Williams <nate@rocky.sri.MT.net>
Cc:        freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: Shared Libraries...almost there...
Message-ID:  <Pine.BSF.3.91.951116222012.6449A-100000@hub.org>
In-Reply-To: <199511170127.SAA10855@rocky.sri.MT.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Nov 1995, Nate Williams wrote:

> Marc G. Fournier writes:
> > 
> > Hi...
> > 
> > 	Well, I've finally got it down to the point that I have
> > to compile with -fpic, and then link with "ld -Bshareable" to create
> > a shared library...but it doesn't look right...
> > 
> > 	Looking at /usr/share/mk/bsd.lib.mk, I'm supposed to be using
> > "shlib_version" to get major/minor numbers for the libraries I create,
> > but I can't find that.  And, the shared library I created is over 3x
> > the size of the original ncurses shared library that comes with the 
> > system...so I screwed up somewhere :(
> 
> Look /usr/share/mk/bsd.lib.mk and note the ld commands.  These are used
> to 'strip' out un-necessary (And some necessary according to Bruce)

Bruce...are you out there? :)

Right now, I've left it 'unstripped'...what is necesary that stripping
gets rid of?  debug code would be my first guess...


Marc G. Fournier | Knowledge, Information and Communications, Inc (ki.net)
scrappy@hub.org  |
 soon to be:     | 
scrappy@ki.net   | For more information, send me email.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951116222012.6449A-100000>