------- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-16 13:25 ------- > Except from the fact this 'as' is not symlinked but copied
It must be hardlinked, not copied, on the systems which support hard links. > The fact that the toolchain has various such internal directories > is not in any way a bug, and changing the internal directories for > the sake of it is pretty pointless; only the confusing nature of > those directories might possibly be a bug. All right, but I still think that there is a bug. IMHO, the driver first should use "as" from $prefix/$target/bin; if not found, look for $target-as in the $PATH; and only after that, try to invoke plain "as". For example, I have two cross-gcc installations with different ${prefix}es. It would be nice to share one copy of cross-binutils between them. Currently I use symlinks for that, but it would be easier to put the binutils directory on the $PATH. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43090