libtool reloadable object files versus multilib
Hans-Peter Nilsson
hp@bitrange.com
Wed Jul 9 06:44:00 GMT 2003
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
More information about the Gcc
mailing list