Problem building gcc

Abdul Wahid Memon engrwahidmemon@gmail.com
Mon Dec 19 18:45:00 GMT 2011


Hello everyone

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

Regards

Abdul
On Wed, Nov 30, 2011 at 12:56 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Tue, 29 Nov 2011, gideon425.gb5@mailnull.com 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



More information about the Gcc-help mailing list