On Tue, Jul 19, 2005 at 04:14:04PM -0400, Christopher Faylor wrote: > Ok. Given that 'cp' was an acceptable fallback in the original version > of the above script, I wonder why 'cp' wasn't used instead of creating a > shell script wrapper.
Because it is desirable to leave the tools where they were: they may know about paths relative to where they are installed. "as" is not the interesting case here; "ld" is. If configured properly, GNU ld will look for libraries relative to its install directory - very useful for building cross toolchains. Or some third party linker may load DLLs relative to its install path. I'd say that using cp for mingw32 is not a huge step backwards. If someone triggers a failure case, then we can do more work on it then. -- Daniel Jacobowitz CodeSourcery, LLC