On Wed, Apr 8, 2015 at 10:24 AM, James Huang <
huang...@gmail.com> wrote:
>
> So I managed to build GCCGO (GCC 4.8.4) that runs on linux-amd64 and targets
> linux-powerpc, and intended to use GCCGO whenever I need to use GC. I had
> libgo.so as well. I built a simple program with my GCCGO that could then run
> on linux-powerpc successfully.
>
> However, I needed to build the packages that come with Go. Go's build script
> "make.bash" uses cmd/dist and go_bootstrap and so on. I then built cmd/dist
> for powerpc. But it seems that I needed to modify its source code to support
> "linux.powerpc" and such. There seems to be a long journey ahead, and I
> really do not know if that is the right direction.l.. So I am here to ask if
> anyone tried similar things and would like to shed me some light.
standard library. There is no reason to build gccgo and then run
cmd/dist or make.bash. You can just use gccgo.