Anyone cross-bootstrap a GCC compiler onto a linux board?

Peter Barada pbarada@mail.wm.sps.mot.com
Wed May 14 15:06:00 GMT 2003


I've built a ppc-linux cross-compiler that runs on my x86 box, but
I'm trying to bootstrap a compiler onto the ppc board so I can build
code natively(or native on/for the ppc).

To do this I'd need a ppc-linux toolchain that:

1) Runs on the x86 box
2) Doesn't have any prefix (ppc-linux-)
3) Is installed somewhere else than the system directory
4) Can be used to compile a kernel and a small set of utilities(that
   expect to find their libraris in the 'usual' places).
5) Can be used to compile the compiler to produce a native
   installation

Has anyone done(or even tried) this before?  I've started reading
Karim's Yaghmour book 'Building Embedded Linux Systems' (excellent
book by the way), and I'm thinking this would be an easier approach
than having to hack up software packages Makefiles to get them to
cross-compile.

Does anyone have any suggestions on the best way for me to proceed?

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

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



More information about the crossgcc mailing list