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


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

Re: [cygnus.gas2] binutils bug: config.guess


>> * Give full path of ld:  /usr/bin/ld.
> This is almost certainly guaranteed to fail on 50% of the systems I have
> ever used.

That is irrelevant.  The question is:  Is it likely to fail on
*Linux* systems, since (as far as I can tell) those are the only
ones that will be running ld?

>	(here=`pwd`; cd /; ld; cd $here)
> (to restore the original working directory afterwards).  Thanks, Per.

Or just do:
	(cd /; ld)
Remember: (CMD) runs CMD in a sub-shell.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner