[openbeos] PPC Cross-compiling

Hey everyone!

Last night I think I managed to get bintools compiled on my Intel BeOS 5 PE
box to target PPC.  I did this with a target of powerpc-apple-beos, which
seemed to work.  Is this correct?

However, my compile of gcc 2.95.3 failed while building (said it couldn't
find limits.h).  And I also tried gcc 3.0, but the configure script
complained about not knowing what to do for a host of i586-pc-beos.

So..  I'm guessing I'm missing something here.  Perhaps a gcc patch for
BeOS?

The goal is to be able to cross-compile the OBOS kernel (and other stuff)
from my Intel machine.  Am I going about this the right way?  I've never
done cross-compiling stuff before.  :-)

I'm going to go looking for BeOS patches now, but I figured I'd fire off a
question to the list in case someone has more experience with this sort of
thing.  Also, if you have anything to add regarding the cross-compiling
issue (perhaps I'm using the wrong target, too?  and what else needs to be
done?), please share!

Thanks.

l8r
Sean





Other related posts: