Source: simgear
Version: 1.9.1-2
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org
Hi,
I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4
simgear FTBFS on SH4.
Because simgear does not support Renesas SH.
http://buildd.debian-ports.org/fetch.php?pkg=simgear&arch=sh4&ver=1.9.1-2&stamp=1264836787&file=log&as=raw
-----
gcc -DHAVE_CONFIG_H -I. -I../../simgear -I../.. -fPIC -pipe -O2 -g
-D_REENTRANT -MT bitslib.o -MD -MP -MF .deps/bitslib.Tpo -c -o
bitslib.o bitslib.c
In file included from nasal.h:7,
from data.h:4,
from bitslib.c:2:
naref.h:22:3: error: #error Unrecognized CPU architecture
In file included from nasal.h:7,
from data.h:4,
from bitslib.c:2:
-----
I made patch to Renesas SH.
This stops checking endian information every CPU and changes it this
uses endian.h, and to check it.
Could you apply this patch?
I checked package building on i386 , amd64 and sh4.
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
Attachment:
simgea_endian.patch
Description: application/empty