Cross compiler

Rune Torgersen runet at innovsys.com
Fri May 27 01:33:07 EST 2005


Anybody know how to set up a cross compiler for nptl support?

I'm trying to use crosstools to compile a gcc-3.4.3/glibc-2.3.4 for
ppc-604 (actually for mpc826x) on i686.

It works if I make it with linuxthreads.
If I do GLIBC_ADDON_OPTIONS==nptl ./my-ppc604_new.sh
Then glibc configure fails with an error about needing a gcc with forced
unwind support.

If I try to set up gcc options to enable threading, then GCC core
compile fails with error that it cannot find pthread.h

Anybody know of a solution?

Rune Torgersen
System Developer
Innovative Systems LLC
1000 Innovative Drive
Mitchell, SD 57301
Ph: 605-995-6120
www.innovsys.com



More information about the Linuxppc-embedded mailing list