Hello,
I was reading through gcc's configure options and couldn't totally
understand what was meant.
`--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.
`--with-build-sysroot'
`--with-build-sysroot=DIR'
Tells GCC to consider DIR as the system root (see
`--with-sysroot') while building target libraries, instead of the
directory specified with `--with-sysroot'. This option is only
useful when you are already using `--with-sysroot'. You can use
`--with-build-sysroot' when you are configuring with `--prefix'
set to a directory that is different from the one in which you are
installing GCC and your target libraries.
This option affects the system root for the compiler used to build
target libraries (which runs on the build system); it does not
affect the compiler which is used to build GCC itself.
Maybe it's because I'm not a native english-speaker, maybe I'm too new
to toolchains&stuff or maybe I'm just a bit stupid....
but since CLFS2 is making use of sysroot-style building I would like
to know some more about it.
Can someone please explain to me what --with-build-sysroot is for?
I understand --with-sysroot.
I just don't understand the use of --with-build-sysroot...
any info?
thanks
keep up the good work
Mathijs
_______________________________________________
Clfs-dev mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-dev