This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
-frepo and shared libraries....
- From: David Hagood <david dot hagood at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 03 Apr 2007 17:54:35 -0500
- Subject: -frepo and shared libraries....
I have a fairly complicated C++ template based piece of code. I'd like
to build a shared library from it, BUT....
The code has to be compiled using -frepo in order to get all the objects
built right (failing that it does dumb things like building two copies
of the constructor for certain static objects and calling them both).
How do I tell the linker and/or libtool "go ahead and run the
'collect2' pass as though this were the final link"?