This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]