On Jan 6, 2009, at 7:18 PM, Hisashi T Fujinaka wrote:
On Mon, 5 Jan 2009, Michael wrote:
... and while there don't forget to put -mcpu=v8 -mtune=v8 into
CFLAGS, otherwise you'd get v7 binaries which would slow things
down even more.
Is there an easy way to do this just for the cross build? I'm always
confused about all this.
I meant COPTS. Putting it into CFLAGS would affect building the tools
which would probably now be what you want.
For what it's worth I have wrapper scripts for cross-builds, they
don't do much except emptying CFLAGS, LDFLAGS, CXXFLAGS and so on and
putting options appropriate for the target into COPTS. After that it's
just build.sh -m sparc distribution.