From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: Per Bothner Cc: hjl@gnu.org, carlo@runaway.xs4all.nl, gas2@cygnus.com, bfd@cygnus.com Subject: Re: [cygnus.gas2] binutils bug: config.guess Date: Sun, 04 Apr 1999 22:58:00 -0000 Message-id: References: <199904050553.WAA18389@cygnus.com> X-SW-Source: 1999/msg00059.html > Alternatives: > * Give full path of ld: /usr/bin/ld. This is almost certainly guaranteed to fail on 50% of the systems I have ever used. I think hardcoding the location of `ld' is a bad idea. > * Cd to some directory unlikely to contain ld: (cd /; ld) This idea, on the other hand, shows promise. Since the script can run `ld' from anywhere, perhaps all this needs in addition is something like: (here=`pwd`; cd /; ld; cd $here) (to restore the original working directory afterwards). Thanks, Per. I'll look into this. Ben