Aw: Re: How to compile gcc toolchain with special sysroot correctly?
Wed Nov 27 11:35:00 GMT 2013
On 11/27/2013 09:10 AM, Johannes Lorenz wrote:
>>> However, this displays no files:
>>> find ~/local -name crti.o
>> So you have to populate your sysroot with with some files and headers.
>> crti.o is part of glibc.
> 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.
Some circularity can't be avoided.
More information about the Gcc-help