[OpenBIOS] r251 - in openbios-devel: config/examples kernel

Blue Swirl blauwirbel at gmail.com
Tue Nov 25 20:38:31 CET 2008


On 11/24/08, Blue Swirl <blauwirbel at gmail.com> wrote:
> On 11/24/08, svn at openbios.org <svn at openbios.org> wrote:
>  > Author: stepan
>  >  Date: 2008-11-24 13:13:40 +0100 (Mon, 24 Nov 2008)
>  >  New Revision: 251
>
>
> >  -HOSTCFLAGS := -Os -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
>  >  +HOSTCFLAGS := -Os -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS) -DSWAP_ENDIANNESS
>
>
> Bad idea, SWAP_ENDIANNESS is defined by config/scripts/crosscflags.
>  Didn't it work correctly for you?

Okay, I found the bug: uname may return x86_64 instead of amd64. Also
the target can be ppc instead of powerpc. With the patch applied, I
can cross-compile a working Sparc64 binary on amd64!



More information about the OpenBIOS mailing list