This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem building gcc


Abdul Wahid Memon <engrwahidmemon@gmail.com> 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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]