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: Alexandre Oliva <aoliva at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, <gcc at gcc dot gnu dot org>, Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: 09 Jul 2003 15:16:42 -0300
- Subject: Re: libtool reloadable object files versus multilib
- Organization: GCC Team, Red Hat
- References: <Pine.BSF.4.44.0306151049460.52574-100000@dair.pair.com>
On Jul 9, 2003, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> Responding to an old email of yours, but I don't think the issue
> was resolved.
I don't recall what the problem was at the time, but I know libtool
does have code to pass emulation flags to the linker when needed.
> Make libtool use "$gcc -Wl,-r -nostdlib -O0" (-O0 to avold
> gcc passing possible linker optimization options)?
This would work when the compiler is GCC, indeed. When using other
compilers, libtool would still need to figure out which flags to pass
to the linker, and then, if it has to know how to do it, there's no
need to not do it similarly when compiling with GCC.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer