You can build gccxml on arm64 with the attached low-tech kludge.

I'm not sure if the result is fit for any purpose, but perhaps it is.

Strings containing "powerpc" and "ppc" appear in usr/bin/gccxml_cc1plus
but perhaps they don't appear in any output from that binary, or only
appear in places where they get ignored by users of the binary.

One could perhaps try building some of the packages that depend on
gccxml using a gccxml hacked in this way.
diff -ru gccxml-0.9.0+git20140716.orig/GCC/gcc/config.gcc gccxml-0.9.0+git20140716/GCC/gcc/config.gcc
--- gccxml-0.9.0+git20140716.orig/GCC/gcc/config.gcc
+++ gccxml-0.9.0+git20140716/GCC/gcc/config.gcc
@@ -2,6 +2,12 @@
 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 # Free Software Foundation, Inc.
 
+# Kludge for building on arm64:
+if test x$target = xaarch64-unknown-linux-gnu
+then
+	target=powerpc64le-unknown-linux-gnu
+fi
+
 #This file is part of GCC.
 
 #GCC is free software; you can redistribute it and/or modify it under

Reply via email to