This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libtool reloadable object files versus multilib
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, <gcc at gcc dot gnu dot org>, Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 9 Jul 2003 01:20:44 -0400 (EDT)
- Subject: Re: libtool reloadable object files versus multilib
Responding to an old email of yours, but I don't think the issue
was resolved.
On Fri, 6 Jun 2003, David Edelsohn wrote:
> Summary:
>
> libtool uses "ld -r" to create temporary reloadable object files,
> which breaks in a multilib environment where one needs invoke the linker
> with an "emulation" option instead of the default.
[...]
> Any ideas on how to fix these problems?
Make libtool use "$gcc -Wl,-r -nostdlib -O0" (-O0 to avold
gcc passing possible linker optimization options)?
brgds, H-P