On Thu, Apr 28, 2011 at 3:52 PM, Nathan Kunkee nkunkee42@hotmail.com wrote:
On 04/28/11 04:00 AM, Mark Cave-Ayland wrote:
On 27/04/11 23:01, Nathan Kunkee wrote:
I built that on opensolaris (so sparc64) with gcc 4.5.2. No cross-compiler needed, although the config script thinks I'm using one.
Ah that will probably be the problem - config/script/switch-arch contains the logic which detects how NATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH and SWAP_ENDIANNESS should be set and adds them to CFLAGS in Makefile.target as appropriate.
OK. I'll start looking to see how to change that for by build environment.
What does 'uname -m' report on your machine? We only check for sun4u/sparc64 or sparc/sparc32.