Subject: Cross compile issue
To: None <tech-toolchain@netbsd.org>
From: Pat Wendorf <mlist@beholder.homeunix.net>
List: tech-toolchain
Date: 02/06/2003 23:40:09
Not sure if this is the proper mailing list...

When cross compiling the dreamcast toolchain on my i386 FreeBSD machine u=
sing=20
the build.sh script like so:

=2E/build.sh -U -m dreamcast -D ../build -R ../release tools

the installboot compile would error out with unreferenced endian conversi=
on=20
functions  (appologies, I didn't write down the exact functions it was=20
complaining about).

The fix seems to be adding #include <sys/endian.h> to the installboot.h f=
ile.

Will someone fix this on the -current cvs? (assuming it's the "correct"=20
solution)

- Pat