Rob van Dam wrote:
> Brian Cheeseman schreef:
>   
>>     Re-adjusting the Toolchain
>>
>>     * After adjusting the GCC specs file and before running the sanity
>>       check there are a few more things we need to do to enable a sane
>>       building environment. Firstly execute ‘ln –s
>>       /tools/lib/libssp_nonshared* /lib/’ this will provide the ssp
>>       libraries which will be replaced in a moment when we build the
>>       butterfly toolchain. The ssp libraries are required otherwise GCC
>>       won’t create any output. (may also need to link the libssp.* as well)
>>   
>>     
> In my case I had to link to libssp.* as well
>
>  From the book chapter 6.10:
>
> ln -vsf ../../lib/libintl.so.3 /usr/lib/libintl.so
>
> Libintl.so.3 doesn't exists on my system I will try to link to 
> libintl.so.8 now. I also think the path to libintl.so.3 isn't right.
>
> Rob
>   
Rob,

Thanks, I'll update my notes to make it "ln -sv /tools/lib/libssp* /lib/"

Just a little warning though, whilst adjusting the toolchain in Ch6
don't use the 'f' parameter on the ln as this would potential replace
(force) the links to be created as we only need the links created for
those libraries which don't exist in /lib. Although on further
inspection, I think that the command sequence should be changed as it
would appear that we are linking a library in /lib to a symlink in
/usr/lib. This strikes me as a bad practice, I personally would prefer
to have it's link place in /lib or mv the library and then link it in
/usr/lib. This is one we will need the editors input on and it is not
critical at this stage.

I'm about to restart my chapter 6 build, so here goes nothing.

Cheers,
Brian.
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to