This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Triple name
- From: Ian Lance Taylor <ian at airs dot com>
- To: <mile dot davidovic at micronasnit dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: 01 Feb 2005 14:37:08 -0500
- Subject: Re: Triple name
- References: <200502011650.j11Go26N009662@krt.neobee.net>
"Mile Davidovic" <mile.davidovic@micronasnit.com> writes:
> But I have second question, what is about libraries and object files
> (crtbegin.o, crtend.o, crti.o, crtn.o and libgcc.a) which is
> created during building cross compiler? Is it possible to have calling
> convention collision?
Yes. You need to make sure that everything is built with the same
calling convention.
> We are using newlib as standard library, is it possible to use same one for
> both compilers, I guess not?
It is if you are careful to build everything with the same calling
convention.
Perhaps I should have asked this first, but: why do you want to do
this? Why not just pick one toolchain and use it? Use the
appropriate -mips option to pick which CPU you want to build for, and
everything will work fine.
You may also want to consider configuring using --with-arch and/or
--with-abi.
Ian