This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/29931] following argv[0] symlink in process_command breaks symlinked-together toolchain
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2006 17:17:45 -0000
- Subject: [Bug driver/29931] following argv[0] symlink in process_command breaks symlinked-together toolchain
- References: <bug-29931-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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