[Bug driver/29931] following argv[0] symlink in process_command breaks symlinked-together toolchain

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 21 17:18:00 GMT 2006



------- Comment #1 from amylaar at gcc dot gnu dot org  2006-11-21 17:17 -------
Created an attachment (id=12663)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12663&action=view)
proposed patch

The patch checks if the directory spec_machine (e.g. i686-linux), i.e. the
directory where all the target libraries and assorted stuff are,
can be found without following symlinks; if that is the case, it assumes that
the other pieces of the toolchain should also be found
without trying to resolve symlinks for generating the prefixes.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29931



More information about the Gcc-bugs mailing list