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: Could my understanding of 'crti.o' in a ARM cross compile be verified?


On 07/28/2010 03:08 PM, Jamie Risk wrote:
>>> [I assume] that I've somehow configured gcc to avoid
>>> building 'crti.o' in the ./gcc directory, and I need to get the
>>> configure script to want to build this. _Is this true_?
>>
>> No.
>>
>> crti.o comes from glibc, not gcc.  You need the glibc appropriate for
>> your target.  Building a cross-compiler to a GNU/Linux target is
>> complex.  Looking at http://crosstool.org/ may help.
> 
> Complex indeed, and I have much reading ahead, thanks for the
> link.

It's a lot easier, if you can get one, to copy the root
filesystem from your target.  Then you configure gcc with
--with-sysroot=/path/to/root/fs.

Andrew.


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