Tomas Klacko wrote: >> I think the --prefix and --with-local-prefix tell the compiler where to >> find binutils as well as where to install but I'd need to check the gcc >> docs. >> > > Well, yes and no. No because --prefix tells the configure script the path > where to install the package (the explanation of the --with-local-prefix > is in gcc-4.3.2/INSTALL/configure.html). > > Yes because the new gcc compiles itself once it is compiled > by the host gcc. During my experiments, the gcc-build/intl/config.log > contained line: > [ > configure:2121: > /media/baracuda/bfu/LFS-6.4/root_partition/sources/build-gcc/./prev-gcc/xgcc > -B/media/baracuda/bfu/LFS-6.4/root_partition/sources/build-gcc/./prev-gcc/ > -B/bfu-tools/i686-pc-linux-gnu/bin/ -g -O2 -fomit-frame-pointer > conftest.c >&5 > /bfu-tools/i686-pc-linux-gnu/bin/ld: cannot find -lc > ] > This tells me that the value passed to the --prefix and --with-local-prefix > configure options is later passed to the -B option, when the new gcc > is compiling itself. > Thanks for the info. Next time I should RTFM rather than guessing...
Thanks, Jack -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
