From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <0f2b11fb7c8a3e66e8e3d71242be7037@proxima.alt.za> References: <0f2b11fb7c8a3e66e8e3d71242be7037@proxima.alt.za> Date: Mon, 1 Aug 2011 11:05:51 -0700 Message-ID: From: Skip Tavakkolian To: lucio@proxima.alt.za, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Status of port of Go to Plan 9 Topicbox-Message-UUID: 09addc28-ead7-11e9-9d60-3106f5b1d025 Thanks! what's a good recipe for making goose? :) bigtop% mk # bind -b /go/$objtype/include /$objtype/include for(i in 8l 8a cc 8c gc 8g) @{ cd $i echo mk in $i mk $MKFLAGS } mk in 8l 8c -I/go/include -I/go/386/include -FTVw asm.c 8c -I/go/include -I/go/386/include -FTVw ../ld/data.c mk: no recipe to make 'goos.8' in directory /go/src/cmd/8l mk: # bind -b ... : exit status=3Drc 308216: rc 308218: mk 308220: error fyi, instead of /go, i've copied it to $home/go and: aux/stub -d /go bind -c $home/go /go -Skip On Mon, Aug 1, 2011 at 2:04 AM, Lucio De Re wrote: > On /n/sources/contrib/lucio/go there is a fresh version of my efforts. > It is a bit ahead of my submissions to the Go Authors and could > benefit from inspection from the Plan 9 perspective. =A0Also, this > inevitably means that there will be changes required by the code > reviewers. > > At this point, it ought to be possible to build the assemblers, C and > Go compilers and linkers for all three architectures (386, amd64 and > arm) for local use on a Plan 9/386 platform. =A0The only build option I > have tested is the default in src/cmd/mkfile: > > =A0 =A0 =A0 =A0% 9fs sources > =A0 =A0 =A0 =A0% disk/mkfs -a -s /n/sources/contrib/lucio/go /n/sources/c= ontrib/lucio/go/devproto | disk/mkext -v -d /go > =A0 =A0 =A0 =A0% cd /go/src/cmd > =A0 =A0 =A0 =A0% mk > > Actual installation should be left until the above succeeds. =A0Where I > am, multiple downloads are expensive and time consuming, so I can't > test this repetitively, please let me know if the above procedure > needs adjusting: > > =A0 =A0 =A0 =A0% mk install > > This ought to copy the 8a, 8c, 8g and 8l executables (not in that > sequence) to /go/386/bin. > > I have arranged for the amd64 and arm versions to work as well. > Change to the appropriate directories and the mkfile will provide the > necessary instructions, including installing to /go/386/bin. > > Nothing above is properly tested. =A0Until I get the runtime properly > constructed, I'm not sure how best to go about testing, so any > contribution or suggestions here is welcome. > > ++L > > >