From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20130410202019.6A6EFB82A@mail.bitblocks.com> References: <9f71f8d13bf0b8e1fba7e22626b8dbc8@proxima.alt.za> <20130410202019.6A6EFB82A@mail.bitblocks.com> Date: Wed, 10 Apr 2013 15:56:45 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e011763b9948a5404da099552 Subject: Re: [9fans] Go (again) on plan9/arm Topicbox-Message-UUID: 4094bbfc-ead8-11e9-9d60-3106f5b1d025 --089e011763b9948a5404da099552 Content-Type: text/plain; charset=ISO-8859-1 the process is probably a lot easier with the right cpu type. i think it is something like: for each architecture (arm, 386), cpu into a machine with that architecture and: for (i in arm 386) { GOARCH=$i GOBIN=/$cputype/bin ./all.rc } for Sheeva/Guru targets, a GOARM=5 is also needed for arm targets. still, not as bad as what is required for other OS: http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go On Wed, Apr 10, 2013 at 1:20 PM, Bakul Shah wrote: > > In the meantime, I'd like some 9fans who may own a Sheevaplug, > > possibly also other ARM equipment supported by Plan 9 - 9fans with > > some interest in Go - to try to install Go on their devices. > > Can't go be cross-built? Having multiple cross compilers work > right is one of the best things about plan9's userland. > > --089e011763b9948a5404da099552 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
the process is probably a lot easier with the r= ight cpu type. i think it is something like:

for each architecture (arm, 386), cpu into a machine with that archi= tecture and:

for (i in arm 386) {
= =A0 GOARCH=3D$i GOBIN=3D/$cputype/bin ./all.rc
}

for Sheeva/Guru targets, a GOARM=3D5 is also nee= ded for arm targets.

still, not as bad as what is required for o= ther OS:
http://dave.cheney.net/2012/09/08/= an-introduction-to-cross-compilation-with-go




On Wed, Apr 10, 2013 at 1:20 PM, B= akul Shah <bakul@bitblocks.com> wrote:
> In the meantime, I= 9;d like some 9fans who may own a Sheevaplug,
> possibly also other ARM equipment supported by Plan 9 - 9fans with
> some interest in Go - to try to install Go on their devices.

Can't go be cross-built? Having multiple cross compilers work
right is one of the best things about plan9's userland.


--089e011763b9948a5404da099552--