From: lucio@proxima.alt.za (Lucio De Re)
Subject: [9fans] Plan 9 Related Work
Date: Fri, 25 Nov 2011 10:20:59 +0200 [thread overview]
Message-ID: <95363d8151b52611aa83dfddf5dd8007@proxima.alt.za> (raw)
In-Reply-To: <CAM6ozu52fc9bMUWxejmt2K35ET+QgR-NErx4ROeCuKnQcqHRzw@mail.gmail.com>
> sorry, I never tried cross-compiling. I started here:
> http://en.wikipedia.org/wiki/Cross_compiler#GCC_and_cross_compilation, and
> http://www.cis.upenn.edu/~milom/cross-compile.html
>
> what should be switch --target=some-target set to?
>
>> your best bet is to cross-compile on Linux. set GOOS to plan9 and GOARCH
>> to 386.
>>
>>
Much easier than with GCC:
$ export GOOS=plan9
$ export GOARCH=386
$ 8g -o _go_.8 mod-1.go mod-2.go ...
$ 8l -o 8.out _go_.8
But you do need the runtime and packages compiled for Plan 9
($GOROOT/pkg/plan9_386/* is where they will live). That is what I
find harder to generate from the HG tip.
++L
next prev parent reply other threads:[~2011-11-25 8:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 22:00 Jani Lahtinen
2011-11-22 13:08 ` Peter A. Cejchan
2011-11-22 13:46 ` Jani Lahtinen
2011-11-24 15:55 ` Uriel
2011-11-25 7:12 ` Peter A. Cejchan
2011-11-25 7:17 ` ron minnich
2011-11-25 7:21 ` andrey mirtchovski
2011-11-25 7:25 ` Lucio De Re
2011-11-25 7:27 ` Peter A. Cejchan
2011-11-25 7:30 ` Lucio De Re
2011-11-25 7:34 ` Peter A. Cejchan
2011-11-25 7:36 ` Peter A. Cejchan
2011-11-25 8:15 ` Peter A. Cejchan
2011-11-25 8:20 ` Lucio De Re [this message]
2011-11-25 8:41 ` andrey mirtchovski
2011-11-25 8:54 ` Peter A. Cejchan
2011-11-25 8:59 ` andrey mirtchovski
2011-11-25 9:00 ` andrey mirtchovski
2011-11-25 9:08 ` Peter A. Cejchan
2011-11-25 7:24 ` 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=95363d8151b52611aa83dfddf5dd8007@proxima.alt.za \
--to=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).