This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Has anyone developed a cross-compiler for his processor using GCC tools?


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?

http://gcc.gnu.org/onlinedocs/gccint/

>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.

-- 
Grant Edwards
grante@visi.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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