This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/17621] Add option to have GCC not search $(prefix)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]