From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: lucio@proxima.alt.za,
Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Status of port of Go to Plan 9
Date: Mon, 1 Aug 2011 11:05:51 -0700 [thread overview]
Message-ID: <CAJSxfmJ91P=oYPzu0AENovvXLUGK-Ke0qrODCfWSMOu1SosSrg@mail.gmail.com> (raw)
In-Reply-To: <0f2b11fb7c8a3e66e8e3d71242be7037@proxima.alt.za>
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=rc 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 <lucio@proxima.alt.za> 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. Also, 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. The only build option I
> have tested is the default in src/cmd/mkfile:
>
> % 9fs sources
> % disk/mkfs -a -s /n/sources/contrib/lucio/go /n/sources/contrib/lucio/go/devproto | disk/mkext -v -d /go
> % cd /go/src/cmd
> % mk
>
> Actual installation should be left until the above succeeds. Where 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:
>
> % 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. Until 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
>
>
>
next prev parent reply other threads:[~2011-08-01 18:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-01 9:04 Lucio De Re
2011-08-01 18:05 ` Skip Tavakkolian [this message]
2011-08-01 19:56 ` Lucio De Re
2011-08-01 19:59 ` Lucio De Re
2011-08-02 4:13 ` Lucio De Re
2011-08-02 12:43 ` kokamoto
2011-08-02 13:39 ` Lucio De Re
2011-08-03 13:14 ` kokamoto
2011-08-03 15:55 ` Lucio De Re
2011-08-02 16:37 ` Lucio De Re
2011-08-02 20:29 ` Lucio De Re
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJSxfmJ91P=oYPzu0AENovvXLUGK-Ke0qrODCfWSMOu1SosSrg@mail.gmail.com' \
--to=skip.tavakkolian@gmail.com \
--cc=9fans@9fans.net \
--cc=lucio@proxima.alt.za \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).