binutils pass 1, CC="gcc -B/usr/bin/"
jwjstone at fastmail.fm
Sat Apr 4 13:29:38 PDT 2009
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
> 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:
> -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...
More information about the lfs-support