Re: Could my understanding of 'crti.o' in a ARM cross compile be verified?

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

 



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 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