This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Triple name
- From: "Mile Davidovic" <mile dot davidovic at micronasnit dot com>
- To: "'Ian Lance Taylor'" <ian at airs dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 1 Feb 2005 17:38:06 +0100
- Subject: RE: Triple name
- Organization: MicronasNIT
- Reply-to: <mile dot davidovic at micronasnit dot com>
First, thanks a lot for Your fast answer.
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?
We are using newlib as standard library, is it possible to use same one for
both compilers, I guess not?
Best regards
Mile
> If we build mips-*-elf cross compiler is it possible to use this
> compiler for processor which support mipsisa32 (using command line
> switch -mips32)?
Yes.
> I am wondering would generated source
> be the same as code generated with
> mipsisa32-*-elf cross compiler?
I believe the mipsisa32-*-elf cross compiler also defaults to the EABI, so
to get the same code you would need something like -mips32 -mabi=eabi.
Ian