[GCC-4.5.2][Chapter 6.16]SEARCH_DIR show a wrong directory

Kef kephuro at gmail.com
Fri Mar 25 17:04:19 PDT 2011


Okay I've solved the problem.
The error was between 6.10 and 6.16. It was related to a linker, so
i've rebuilded binutils and not the output is ok.

Thanks.

2011/3/25 Kef <kephuro at gmail.com>:
> I've just seen that the ouptut I have is an expected ouptut at 6.10,
> at the end of the new configuration of the toolchain.
> After there is Zlib, Binutils, GMP, MPFR, MPC and GCC.
>
> Which of this part can affect the ouptut I've obtained ? Can I just re-do it ?
>
> 2011/3/25 bsquared <bwcode4u at gmail.com>:
>> On Fri, Mar 25, 2011 at 1:23 PM, Kef <kephuro at gmail.com> wrote:
>>> Hi there !
>>> I am just compiling gcc 4.5.2 (chapter 6.16). Everything seems ok but
>>> at the end we have to type the following command to check if the
>>> linker is correclty configured :
>>>
>>> grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
>>>
>>> Here is my ouptut for this command :
>>> SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
>>> SEARCH_DIR("/lib")
>>> SEARCH_DIR("/usr/lib");
>>>
>>> It should be :
>>> SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
>>> SEARCH_DIR("/usr/local/lib")
>>> SEARCH_DIR("/lib")
>>> SEARCH_DIR("/usr/lib")
>>>
>>> Is it a compilation problem or something else ?
>>>
>>> Every previous tests commands were ok, this is the first time that
>>> there is someting strange.
>>>
>>> Thanks a lot for your help,
>>> Julien
>>> --
>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> Unsubscribe: See the above information page
>>>
>>
>> I recently completed this chapter and I got the same output as listed
>> in the book.  You may want to double check the steps leading up to it,
>> it took me four attempts before I was able to catch an oversight.
>>
>> --
>> Thank you,
>> -Brian
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
>>
>



More information about the lfs-support mailing list