Has anyone developed a cross-compiler for his processor using GCC tools?
Wed Jun 12 13:32:00 GMT 2002
On Wed, Jun 12, 2002 at 09:19:17AM +0800, New Wei Lee wrote:
> The GCC packages provide cross compilers for only some widely
> used processors such as MIPS and ARMS. Let's say I have
> designed a target processor and I want to develop a cross
> compiler for it on my Suns solaris system. Is it possible to do
> that using GCC tools?
>Have anyone done it before?
Of course! Did you think gcc appeared magically from nothing?
> If I only want to build a compiler for it but not an assembler
> for it using GCC tools. Is this possible?
In theory, yes.
It is however a rather useless thing to do.
If you don't build an assembler, what are you going to do with
the assembly language generated by gcc? I suppose you could
use a different assembler to assemble gcc output, but you'd be
swimming against the tide.
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc