From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: multipart/alternative; boundary="Apple-Mail=_8C2D66B7-47CD-44B8-BA01-9E3C78EC4A11" Message-Id: <9155087B-950C-49A0-BE77-B364B2FACF43@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Date: Sun, 30 Oct 2016 21:08:26 -0400 References: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: Subject: Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee) Topicbox-Message-UUID: a7a2d81e-ead9-11e9-9d60-3106f5b1d025 --Apple-Mail=_8C2D66B7-47CD-44B8-BA01-9E3C78EC4A11 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I tried this command with both go 1.7.3 and master branches. Both fail = right after =E2=80=9C#### Building packages and commands for host, = plan9/386=E2=80=9D with an error =E2=80=9Cinstall: ./install not = found.=E2=80=9D It seems like the go bootstrap tool is trying to call a binary called = =E2=80=9Cinstall=E2=80=9D but there are none on my system. Is there such = a command on p9bl? Maybe 9front doesn=E2=80=99t have it? It works fine if I don=E2=80=99t try to cross compile to plan9/arm or = even linux/386. Chris > On Oct 30, 2016, at 4:39 AM, David du Colombier <0intro@gmail.com> = wrote: >=20 > > To cross compile with make.rc do you just set GOARCH and GOOS and = just run it? >=20 > Yes and you can add the --no-rebuild flag to prevent cmd/dist to = remove the existing binaries. >=20 > For example: >=20 > =E2=84=85 GOOS=3Dplan9 GOARCH=3Darm make.rc --no-rebuild >=20 > --=20 > David du Colombier >=20 --Apple-Mail=_8C2D66B7-47CD-44B8-BA01-9E3C78EC4A11 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I tried this command with both go 1.7.3 and = master branches. Both fail right after =E2=80=9C#### Building packages = and commands for host, plan9/386=E2=80=9D with an error =E2=80=9Cinstall: = ./install not found.=E2=80=9D

It seems like the go bootstrap tool is = trying to call a binary called =E2=80=9Cinstall=E2=80=9D but there are = none on my system. Is there such a command on p9bl? Maybe 9front = doesn=E2=80=99t have it?

It works fine if I don=E2=80=99t try to cross compile to = plan9/arm or even linux/386.

Chris

On = Oct 30, 2016, at 4:39 AM, David du Colombier <0intro@gmail.com> = wrote:

> To cross compile with make.rc do you just = set GOARCH and GOOS and just run it?

Yes = and you can add the --no-rebuild flag to prevent cmd/dist to remove the = existing binaries.

For example:

=E2=84=85 GOOS=3Dplan9 GOARCH=3Darm make.rc = --no-rebuild

--
David du Colombier


= --Apple-Mail=_8C2D66B7-47CD-44B8-BA01-9E3C78EC4A11--