This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/17621] Add option to have GCC not search $(prefix)
- From: "ericw at evcohs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2004 22:19:46 -0000
- Subject: [Bug driver/17621] Add option to have GCC not search $(prefix)
- References: <20040922213130.17621.ericw@evcohs.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ericw at evcohs dot com 2004-09-22 22:19 -------
Subject: Re: Add option to have GCC not search $(prefix)
pinskia at gcc dot gnu dot org wrote:
>------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 22:07 -------
>Can you try using --with-sysroot= which should solve all of your problems.
>
>
>
The documentation for --with-sysroot= is not exactly clear to me wrt
this particular instance:
|--with-sysroot|
|--with-sysroot=|dir
Tells GCC to consider dir as the root of a tree that contains a
(subset of) the root filesystem of the target operating system.
Target system headers, libraries and run-time object files will be
searched in there. The specified directory is not copied into the
install tree, unlike the options --with-headers and --with-libs that
this option obsoletes. The default value, in case --with-sysroot is
not given an argument, is ${gcc_tooldir}/sys-root. If the specified
directory is a subdirectory of ${exec_prefix}, then it will be found
relative to the GCC binaries if the installation tree is moved.
The first sentence talks about the "root filesystem of the target
operating system". I don't see how this applies to the AVR target as it
is an OS-less microcontroller, and has no "filesystem" of it's own.
Perhaps you can elucidate 1. how enabling this would help on the AVR
target, and 2. what exactly should be specified as dir.
Thanks
Eric
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17621