This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: -frepo and shared libraries....
- From: Nick Clifton <nickc at redhat dot com>
- To: David Hagood <david dot hagood at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 10 Apr 2007 22:17:07 +0100
- Subject: Re: -frepo and shared libraries....
- References: <4612DB2B.3020600@gmail.com>
Hi David,
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"?
Perhaps an example of what you are doing would help here. In particular
when you do try to run g++ to create the final executable, what does
happen ?
Cheers
Nick