This is the mail archive of the gcc@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: Triple name


"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


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