This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: LIB_PATH problem on powerpc
- To: Richard Henderson <rth@cygnus.com>,Daniel Jacobowitz <drow@false.org>
- Subject: Re: LIB_PATH problem on powerpc
- From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
- Date: Tue, 15 Jun 1999 00:32:46 +0200
- Cc: binutils@sourceware.cygnus.com
- References: <99061123561802.00746@ns1102.munich.netsurf.de>
Am Fre, 11 Jun 1999 schrieb Franz Sirl:
>Am Fri, 11 Jun 1999 schrieb Richard Henderson:
>>On Mon, Jun 07, 1999 at 08:49:09PM -0400, Daniel Jacobowitz wrote:
>>> LIB_PATH has gotten broken on powerpc, and I think the elf32ppclinux
>>> changes are to blame.
>>
>>Try this.
>
>This patch works fine, both scripts get the same search patch.
Actually there's a small glitch in your patch, you missed one incarnation of
$DEFAULT_EMULATION. This small addition fixes it:
--- genscripts.sh~ Mon Jun 14 17:05:36 1999
+++ genscripts.sh Mon Jun 14 17:08:24 1999
@@ -125,7 +125,9 @@
ldscripts/${EMULATION_NAME}.xs
fi
-test "$DEFAULT_EMULATION" = "$EMULATION_NAME" && COMPILE_IN=true
+for i in $EMULATION_LIBPATH ; do
+ test "$i" = "$EMULATION_NAME" && COMPILE_IN=true
+done
# Generate e${EMULATION_NAME}.c.
. ${srcdir}/emultempl/${TEMPLATE_NAME-generic}.em
Franz.