9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 9vx Binary for Mac OS X
Date: Wed,  4 May 2011 09:56:30 -0700	[thread overview]
Message-ID: <20110504165630.9FACFB827@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Wed, 04 May 2011 08:00:59 MDT." <BANLkTikfYY4KS0EyFrQxWydPYiaFih8RCg@mail.gmail.com>

On Wed, 04 May 2011 08:00:59 MDT andrey mirtchovski <mirtchovski@gmail.com>  wrote:
> it should be as simple as 'make 9vx/9vx' issued in vx32/src.
>
> here's a binary i just compiled:
>
> http://mirtchovski.com/p9/9vx.OSX.gz

Here are some instructions I sent someone last week which may
be of help:

# Note: UNTESTED but should work.... Shouldn't be hard to
# package up as a shell script.
#
# I assume people know how to install pythong and mercurial!

# fetch 9vx bits & build it
hg clone http://bitbucket.org/rminnich/vx32
cd vx32/src
make 9vx/9vx
# Note: this won't work on FreeBSD on x86_64. Let me know if you want this.

# add a command to your ~/bin if you want
cp 9vx/9vx $HOME/bin/9vx.bin
cat >$HOME/bin/9vx <<EOF
#!/bin/sh
9vx.bin -r $PWD/plan9 $*
EOF
chmod +x $HOME/bin/9vx

cd ../..

# get the default 9vx setup:
wget http://pdos.csail.mit.edu/~rsc/9vx-0.12.tar.bz2
tar xf 9vx-0.12.tar.bz2

# get the latest plan9 bits
hg clone http://bitbucket.org/rminnich/sysfromiso

# now put everything together in a new directory
mkdir plan9
cd plan9
rsync -arv ../9vx-0.12/. .
rsync -arv --del ../sysfromiso/{sys,rc,acme} .

# Fire it up!
9vx -u glenda

Note: you may prefer to bind sysfromiso/{sys,include} files
rather than rsync.

Now within 9vx rebuild everything! Can someone provide a
simple script for it? It should build i386 and optionally arm
binaries. Thanks.

I haven't used any 9vx options added later (by yiyus?).  It
would be nice to see some init file examples.



  parent reply	other threads:[~2011-05-04 16:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 11:41 Brian Vito
2011-05-04 14:00 ` andrey mirtchovski
2011-05-04 16:13   ` Ethan Grammatikidis
2011-05-04 16:43     ` Brian L. Stuart
2011-05-04 16:56   ` Bakul Shah [this message]
2011-05-04 16:59 Bakul Shah

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=20110504165630.9FACFB827@mail.bitblocks.com \
    --to=bakul@bitblocks.com \
    --cc=9fans@9fans.net \
    /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).