[cygnus.gas2] binutils bug: config.guess

Ben Elliston bje@cygnus.com
Sun Apr 4 23:02:00 GMT 1999


> 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




More information about the Gas2 mailing list