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]

Re: Cross compile error question: i686 to powerpc--linux-gnu


Thanks Bill,
	After todays discussion I've got a better understanding of gcc. 

Larry Gray
larry@greenmotor.com


On Wednesday 17 October 2001 13:51, William A. Gatliff wrote:
> Larry:
> > Hello, This was the point I was trying to make exactly in my
> > previous post (Can't build gcc-3.0.1 for m68k-coff). I agree
> > completely, the compiler shouldn't need to know anything about
> > system-specific libraries. Maybe some expert can point out what
> > we're missing?
>
> For a cross gcc to produce useful applications, it needs its helper
> functions built for the target microprocesor.  Ergo, it needs to
> cross-compile and cross-assemble bits of itself at some phase in the
> compiler setup process.  This is why you have to build a
> cross assembler before you can build the cross compiler.
>
> Theoretically, no compiler *needs* anything target-specific in order
> to simply translate C code into ASM code.  But there's more than that
> involved in building complete applications--- the anticipated use for
> gcc--- so the gcc build process may not be suitable for building a
> theoretical, pure C-to-ASM translator, since few people would want
> such a thing in practice.
>
> It's entirely likely that various intermediate targets in the gcc
> Makefile will yield a "theoretical" compiler.  Use The Source.  :^)
>
>
> Just my $0.02.
>
>
> b.g.
>
> > Thanks,
> > Larry Gray
> > larry@greenmotor.com
> >
> > > ------
> > > Want more information?  See the CrossGCC FAQ,
> > > http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to
> > > crossgcc-unsubscribe@sourceware.cygnus.com
> >
> > ------
> > Want more information?  See the CrossGCC FAQ,
> > http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to
> > crossgcc-unsubscribe@sourceware.cygnus.com

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


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