On Oct 20, 2020, at 2:38 AM, fge...@gmail.com wrote:
> 
> After looking at the list of supported platforms on build.golang.org
> and looking at the golang-nuts and golang-dev mailing list archives, I
> can't see the ppc e500 as a supported hardware platform for the go
> compiler (available on golang.org/dl or github.com/golang/go  .)
> Getting a compiler to support a new platform or porting a compiler to
> a new platform are usually non-trivial processes.
> At this stage you'll probably want to use the gccgo compiler if that's 
> working.
> (Also you'll maybe find this useful:
> https://github.com/golang/go/wiki/PortingPolicy )

Yes, the biggest thing you'll run into is that support for 32-bit (and, IIRC, 
big-endian) PowerPC is long gone from the Go compiler.  Someone else on the 
golang-dev list was working on a port to a different embedded-ish 32-bit PPC 
implementation (440, if memory serves, but it often doesn't).  You might want 
to check there to see if you can collaborate.  There is also this tracking 
issue, which you may find instructive: https://github.com/golang/go/issues/22885

Of note to non-PPC people: the eXXX cores are generally similar to older 
commercial PowerPCs (i.e. the e300 was a derivative of the 603e, the e500 is 
somewhat similar to the 750/G3, but is more advanced).  Support for specific 
cores is not quite as important as support for the overall ISA unless you are 
building an operating system, where they can differ greatly on the low-level 
details.

Personally, I'd love to see 32-bit PPC support reinstated because I have a few 
boards I'd love to use with Net/OpenBSD and Go, but I don't have the time right 
now and it's not of commercial interest to me, so I can't get funding for it.


- Dave

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/A70DB211-2CDF-479B-8434-93D92E7A0901%40gmail.com.

Reply via email to