Re: INSTALL/configure.html mentions ${gcc_tooldir} - what's that?

2008-04-14 Thread Jim Wilson

Denys Vlasenko wrote:

Please, can somebody add an explanation to INSTALL/configure.html
what ${gcc_tooldir} is, and how to set it (I guess with configure
option or something?)


gcc_tooldir is a makefile variable.  You can't change it directly.  It 
is effectively $prefix/$target, though if you look at the details you 
will see it is a bit more complicated than that.


Yes, the docs should be clarified.  You might want to submit a bug report.

Jim


INSTALL/configure.html mentions ${gcc_tooldir} - what's that?

2008-04-14 Thread Denys Vlasenko
Hi,

INSTALL/configure.html mentions ${gcc_tooldir}, just once. Here:

Cross-Compiler-Specific Options

The following options only apply to building cross compilers.

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


Well, that's not too helpful.

Please, can somebody add an explanation to INSTALL/configure.html
what ${gcc_tooldir} is, and how to set it (I guess with configure
option or something?)

--
vda