This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: LIB_PATH problem on powerpc


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.

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