This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Could my understanding of 'crti.o' in a ARM cross compile be verified?
- From: Ian Lance Taylor <iant at google dot com>
- To: Jamie Risk <jamie at subject2risk dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 27 Jul 2010 22:59:20 -0700
- Subject: Re: Could my understanding of 'crti.o' in a ARM cross compile be verified?
- References: <AANLkTi=z1N=m9MBt5CSbFoFOeJSNoYoQ8NwuLBi1B1Q8@mail.gmail.com>
Jamie Risk <jamie@subject2risk.com> writes:
> My first assumption is that since the cross linker is called,
> advice along the lines of "You need to install glibc-dev libraries"
> *won't* help. _Is this true_?
Yes.
> My second assumption is 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.
Ian