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?


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


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