This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/50470] gcc does not respect -nostdlib with regard to search paths
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Sep 2011 15:03:18 +0000
- Subject: [Bug driver/50470] gcc does not respect -nostdlib with regard to search paths
- Auto-submitted: auto-generated
- References: <bug-50470-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50470
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-09-21 15:03:18 UTC ---
On Wed, 21 Sep 2011, bugdal at aerifal dot cx wrote:
> The sysroot features may be nice but they're not a substitute for being able to
> eliminate the default library search path. For example, when using sysroot,
> -L/new/path will prepend the sysroot to /new/path.
No, you need -L=/new/path for that.