Hi Nobuhiro,
Alle martedì 19 aprile 2011, Nobuhiro Iwamatsu ha scritto:
> Because In the case of sh4, the architecture is set in 'generic', and
> use src/corelib/arch/generic/.
Theorically qt4 should build with the 'generic' architecture.
> Determining system architecture...
> (Linux:2.6.33.5-00003-g0ef7fb0-dirty:sh4) Trying 'sh4'...
> 'sh4' is unsupported, using 'generic'
> 'sh4' is unsupported, using 'generic'
> System architecture: 'generic'
> [...]
> I made patch to support sh4. Could you apply this patch?
Your patch is based on the code resulting after the qt4-x11 patch
07_trust_dpkg-arch_over_uname-m.diff, hence it is wrong.
Attached there is an attempt of better patch for sh4; could you please
try it?
Also, please note that in qt4 there seems to be two sh architectures,
see the the src/corelib/arch/qatomic_{sh,sh4a}.h and the two 'sh' and
'sh4a' directories in src/corelib/arch/; the patch you did and the one I
just attached use the 'sh' variant (which I guess is the generic one for
SH).
Thanks,
--
Pino Toscano
--- a/configure
+++ b/configure
@@ -3053,6 +3053,12 @@
;;
esac
;;
+ *:*:sh4)
+ if [ "$OPT_VERBOSE" = "yes" ]; then
+ echo " Renesas SuperH 4"
+ fi
+ CFG_HOST_ARCH=sh
+ ;;
*:*:*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " Trying '$UNAME_MACHINE'..."
Attachment:
signature.asc
Description: This is a digitally signed message part.