This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> 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