[openbeos] Re: PPC Cross-compiling

"Sean Heber" <sean@xxxxxxxxxxxx> wrote on 21.02.02 00:40:10:
>
>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?

Seems to be correct.

>However, my compile of gcc 2.95.3 failed while building (said it couldn't
>find limits.h).

Just include the limits.h from your standard devel dirs. You may have to do 
this by manually adding these to the source files 
where build 
stops and complains. 

 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.

Seems there is no beos anymore... ;-/
Since beos uses the same binary format as linux (ELF) configure as 
i586-pc-linux - oh, at least for your intel pc. Don't know 
which 
fileformat is used for apple but you can also configure by choosing the 
fileformat (i586-pc-elf). 

Michael Noisternig

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