From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Tue, 1 Nov 2016 09:05:08 -0400 Message-Id: References: <9155087B-950C-49A0-BE77-B364B2FACF43@gmail.com> <8cf8a0d6-364a-4959-abd0-c47cf87dfdce@email.android.com> In-Reply-To: <8cf8a0d6-364a-4959-abd0-c47cf87dfdce@email.android.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee) Topicbox-Message-UUID: a7e16b06-ead9-11e9-9d60-3106f5b1d025 Thanks David, Stanley, I managed to get the cross compile to work using the 9legacy go binaries and= the git script. The workaround for the error I received before is to create a dummy rc scrip= t called 'install' and put it into my /bin. The go make.rc script calls it a= nd continues on seemingly fine afterwards. Chris > On Oct 30, 2016, at 9:47 PM, Stanley Lieber wrote: >=20 > Chris McGee wrote: >=20 >> 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 >>=20 >> 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? >>=20 >> It works fine if I don=E2=80=99t try to cross compile to plan9/arm or eve= n >> linux/386. >>=20 >> Chris >>=20 >>> 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 >=20 > 'install' is from BSD. It does not exist in Plan 9. >=20 > sl >=20 >=20