This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: X Libraries/linking
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Peter Bergner <bergner at us dot ibm dot com>, binutils at sources dot redhat dot com,Stuart Monteith <MONTEITH at uk dot ibm dot com>
- Date: Tue, 25 Jun 2002 08:36:34 -0700
- Subject: Re: X Libraries/linking
- References: <OFA5489468.48C15A5C-ON86256BE2.00722B22@rchland.ibm.com> <20020625022013.GD22093@bubble.sa.bigpond.net.au>
On Tue, Jun 25, 2002 at 11:50:13AM +0930, Alan Modra wrote:
> On Mon, Jun 24, 2002 at 03:59:46PM -0500, Peter Bergner wrote:
> > Is it possible to "act" like a native toolchain?
>
> Sure. This enables the /etc/ld.so.conf, LD_RUN_PATH and
> LD_LIBRARY_PATH search for powerpc-linux to powerpc64-linux
> (and vice-versa) cross linkers.
>
> * emulparams/elf64ppc.sh (NATIVE_CROSS): Define.
> * emulparams/elf32ppc.sh (NATIVE_CROSS): Define.
> * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Behave
> as for a native linker if NATIVE_CROSS.
> (gld${EMULATION_NAME}_after_open): Likewise.
>
May I ask why you want to do that? I didn't see the original email. It
sounds like you may want to enable the powerpc64-linux target when
configuring for powerpc-linux.
H.J.