https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79112

--- Comment #2 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
(In reply to Oleg Endo from comment #1)
> As far as I know GO has not been ported for SH.

Hmm, I thought gccgo would work on all gcc-supported targets. But it looks like
SH is indeed missing in the list in libgo/configure.ac:

ALLGOARCH="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mipso32
mipsn32 mipso64 mipsn64 mips mipsle mips64 mips64le mips64p32 mips64p32le ppc
ppc64 ppc64le s390 s390x sparc sparc64"

# All known GOARCH_FAMILY values.
ALLGOARCHFAMILY="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 PPC PPC64
S390 S390X SPARC SPARC64"

Surprisingly, m68k is in this list and I was actually able to build gccgo
there. Although the generated binaries currently crash.

Reply via email to