On 11/24/08, Blue Swirl blauwirbel@gmail.com wrote:
On 11/24/08, svn@openbios.org svn@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!