Need help on installing go for The Plan 9 Operating system.

87 views
Skip to first unread message

ROuNIN

unread,
Jan 7, 2011, 7:09:57 PM1/7/11
to golang-nuts
Hello all,
I would like someone to advise on what needs to be done to install
Google Go on The Plan 9 Operating System.

Ron and Russ, can you please help?
Many thanks,
ROuNIN

ron minnich

unread,
Jan 7, 2011, 7:10:44 PM1/7/11
to ROuNIN, golang-nuts
On Fri, Jan 7, 2011 at 4:09 PM, ROuNIN <rounin....@googlemail.com> wrote:
> Hello all,
> I would like someone to advise on what needs to be done to install
> Google Go on The Plan 9 Operating System.
>
> Ron and Russ, can you please help?

I'm useless, not having done it, sorry.

ron

ROuNIN

unread,
Jan 7, 2011, 7:29:36 PM1/7/11
to golang-nuts

Thanks for the quick reply Ron!
I've searched for ages on the net but can't find any info.

So far have the following (with the aid of)
http://plan9.bell-labs.com/wiki/plan9/Sources_repository/index.html

mount to 9fs sources:

9fs sources
ls /n/sources

So you can see the contrib/ directory:
contrib/ - Contrib directories for contributed code

Then at:
http://plan9.bell-labs.com/wiki/plan9/Contrib_index/index.html

Then I get stuck at being able to obtain Mercurial from FGB's contrib
area:

hg: Mercurial 1.0.2

ROuNIN

ron minnich

unread,
Jan 7, 2011, 7:31:12 PM1/7/11
to ROuNIN, golang-nuts
move this to 9fans I think. I doubt golang cares all that much :-)

ron

andrey mirtchovski

unread,
Jan 7, 2011, 8:27:52 PM1/7/11
to ron minnich, ROuNIN, golang-nuts
The plan9 go port is cross-compilation only. If you install all the
changes needed for it you'll be able to compile go into binaries that
will run on Plan9, but a large part of the OS support is still to be
completed (things like network access, namespace manipulation, stuff
from the "os" package).

At this point I don't think there is a native Go for Plan 9. If you're
looking to help finish it, ask the person who submits the P9 patches
for what help they need.

andrey

paulzhol

unread,
Jan 9, 2011, 1:55:32 PM1/9/11
to golang-nuts
Hi!
I submitted os and syscall support at
http://codereview.appspot.com/3816043/.
It is still pending review by Russ, so use with care.

Andrey is correct about cross compiling, also don't
forget linking with symbols stripped (8l -s).

I think they did a port of the compiler about
a year ago to run nativly. I haven't looked into bringing
it up to speed.

Pavel
Reply all
Reply to author
Forward
0 new messages