Martin Reinecke wrote:
i.e. the "gcc" binary ends up as "xgcc" in a subdirectory called "gcc".

The gcc makefile install rule just does
  rm -f $destdir/bin/gcc
  install xgcc $destdir/bin/gcc
If destdir/bin/gcc is non-existant, or a plain file, then this works as expected. If destdir/bin/gcc is a directory, then this will cause the result you saw, as xgcc will be copied into the directory.

The question is then: Who created the directory?

That I probably can't figure out without makefile logs. It is also possible that the directory was there before you started the install. In this case, you might want to do a rm -rf $destdir to get a clean install.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com

Reply via email to