Re: Problem building gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The exact output of echo $LIBRARY_PATH Is /usr/lib/x86_64-linux-gnu

Regards

On Mon, Dec 19, 2011 at 10:20 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> Abdul Wahid Memon <engrwahidmemon@xxxxxxxxx> writes:
>
>> I also got the same error and according to your solution I set
>> LIBRARY_PATH=/usr/lib/x86_64-linux-gnu but then the compilation
>> process complains that
>>
>> checking LIBRARY_PATH variable... contains current directory
>> configure: error:
>> *** LIBRARY_PATH shouldn't contain the current directory when
>> *** building gcc. Please change the environment variable
>> *** and run configure again.
>> make[2]: *** [configure-stage2-gcc] Error 1
>> make[2]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc'
>> make[1]: *** [stage2-bubble] Error 2
>> make[1]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc'
>> make: *** [all] Error 2
>
> What is the exact value you are using for LIBRARY_PATH?  That is, what
> do you see if you run "echo $LIBRARY_PATH"?
>
> Ian
>
>> On Wed, Nov 30, 2011 at 12:56 AM, Marc Glisse <marc.glisse@xxxxxxxx> wrote:
>>> On Tue, 29 Nov 2011, gideon425.gb5@xxxxxxxxxxxx wrote:
>>>
>>>> I am having problems building gcc 4.6.2
>>>>
>>>> I am using Ubuntu 11.10
>>>>
>>>> Here is the error
>>>>
>>>> /usr/bin/ld: cannot find crti.o: No such file or directory
>>>
>>>
>>> Here is the solution:
>>> export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
>>>
>>>
>>>> What additional information can I supply to help understand this problem?
>>>
>>>
>>> Problem understood, gcc doesn't currently support debian and the derivative
>>> distributions like ubuntu.
>>>
>>> --
>>> Marc Glisse



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux