Robert Mcleod wrote on 14-02-08 08:00:
> Chris Staub wrote:
>> Robert Mcleod wrote:
>>
>>> I haven't built an LFS system in a while. It was probably book 5 if I
>>> remember correctly. Anyway, back then I didn't have any problems. Today
>>> using book 6.3 I've fallen over at the very first step of Chapter 5 -
>>> Binutils 2.17 pass 1.
>>>
>>> Just so you know, I am building using Ubuntu Gutsy 7.10, which I assume
>>> could be causing the issue here.
>>>
>>> $LFS = /media/sdb3
>>>
>>> /tools -> /media/sdb3/tools
>>>
>>> and all sources were downloaded from planetmirror.
>>>
>>>
>>> I followed the book to the letter from what i can tell:
>>> [EMAIL PROTECTED]:/media/sdb3/binutils-build$ CC="gcc -B/usr/bin/"
>>> [EMAIL PROTECTED]:/media/sdb3/binutils-build$ time {
>>> ../binutils-2.17/configure --prefix=/tools --disable-nls
>>> --disable-werror && make && make install }
>>>
>>>
>> The problem is that you split the "CC=" bit apart from the rest of the
>> command. That's supposed to be immediately before the configure command
>> (CC="gcc -B/usr/bin/" ../binutils-2.17/configure...), just as written in
>> the book.
>>
> Thanks for the help, *but* considering that the line CC="gcc
> -B/usr/bin/" is just setting the CC environment variable I don't
> understand why that would make a difference. Am I missing some subtle
> point here? Either way, I did try that and had the same result as the
Yes, a not so subtle point. The value isn't exported.
Any subsequent commands will not see it.
> first time ("--hash-style" being an unrecognised option of ld).
Yes, prob. a limitation of the linker. Sigh.
bjd
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page