Re: Aw: Re: Aw: Re: How to compile gcc toolchain with special sysroot correctly?

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

 



On 11/27/2013 11:35 AM, johannes89@xxxxxxxxxxxxxxxx wrote:
>>> Ok, but the problem occured when I tried to compile glibc (it was missing it when I configured it). Do you mean I require an old glibc to compile a new one?
>>
>> Yes, you do, because the configure tests are trying to link a program.
>> That isn't going to work unless there is a C library.
> 
> Is the glibc only needed for the configure tests, but not for the
> make call? 

Hard to say.  It doesn't really matter, because the resulting libc
will be standalone.

> I understand that a glibc might be needed to test the
> compiler's feature, but a libc which is linked to another libc
> sounds a bit strange. I guess glibc should be able to build crti.o
> without linking to another crti.o?

Yes.

> Also, can you please explain a good way to solve the problem? Would
> you soft-link the missing files, or should I set a variable like
> LD_LIBRARY_PATH? Sorry - I am new to this.

I'd populate the sysroot with the files.

Andrew.




[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