From: Jens Staal <staal1978@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Nemo book
Date: Fri, 16 Sep 2011 05:46:31 +0200 [thread overview]
Message-ID: <CAK8RtFqFqLbpVmO+XkH-DH079WpSQWEguhXkm-_Uw0Xk3jLDHQ@mail.gmail.com> (raw)
In-Reply-To: <CAP6exYK+8TbaceUcfTAnuWruxahHvMmSgqGHKpH7jcZME=C5ww@mail.gmail.com>
2011/9/16 ron minnich <rminnich@gmail.com>:
> On Thu, Sep 15, 2011 at 5:02 PM, Ethan Grammatikidis
> <eekee57@fastmail.fm> wrote:
>> On Wed, 14 Sep 2011 18:41:29 -0400
>> L N <leonardnemoi@gmail.com> wrote:
>>
>>> The goal should be a Plan 9 "distro" that runs natively on AMD-64, and can
>>> open a web-browser.
>>
>> That "goal" is a target moving at approximately the speed of light. Specifically, the "open a web browser" part of it is.
>>
>> A virtualizer running on Plan 9 would waste far less time than implementing enough Linux syscalls to run a Linux distro new enough to run any browser newer than Opera 9.
>
> That's a very interesting point. Implementing lguest on Plan 9 would
> require something like 13 "system calls". Far easier than doing the
> near-400 system calls of linux correctly.
>
> ron
>
>
Just out of interest, has anyone made a cross compiler either for the
32-bit Plan9 or 64-bit Nix target?
I have been looking a bit into the possibility of packaging the old
GCC 3.0 as a cross compiler on Arch linux. At the moment my builds
fail miserably since the build assumes that you build on a Plan9 host
(hard links in the binutils build to i386-lucent-plan9-ar etc). A
newer version (>4.6) would be cooler since it also supports the plan9
dialect of C. On the other hand, the cross compiler would just be a
neat way to build legacy stuff without having to worry about having
all the GNU tools on the target machine.
Alternatively - would a newlib approach be a better bet to get
binutils/gcc going? I have been trying to read up on it and to try to
locate the syscall information I need from plan9 libc. If anyone got
any pointers on how to do this, it would be appreciated :)
I am a total nooob on this though (unfortunately with very little
time, so my efforts are sporadic)
Ps.
I have an experimental PKGBUILD for nix on my machine. The basic idea
I got with that one is:
- static root at /opt/vx32/nix/root
- changes at /opt/vx32/nix/changes
- /usr/glenda moved to /home/glenda, user "glenda" added to system
(directory /opt/vx32/nix/usr removed)
- union mount /opt/nix/vx32/nix/root and /opt/nix/vx32/nix/changes at /mnt/nix
- mount /home at /mnt/nix/usr
It is not ready for public consumption yet however.
- One thing I wonder there about 9vx is - can you add a command line
argument to start a script in the plan9 that boots?
Right now building/packaging nix requires manual intervention in the
booted plan9 environment during packaging.
Also, it would be nice to have a "firstrun" part in the startup script
for a user so that the system executes /sys/lib/newuser.
This in combination with a cross compiler would turn playing with
Plan9 far easier and more fun :)
next prev parent reply other threads:[~2011-09-16 3:46 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 21:43 s s
2011-09-14 21:46 ` Francisco J Ballesteros
2011-09-14 21:46 ` Francisco J Ballesteros
2011-09-14 21:48 ` s s
2011-09-14 21:52 ` s s
2011-09-14 21:50 ` hiro
2011-09-14 21:55 ` s s
2011-09-14 21:57 ` John Floren
2011-09-14 22:13 ` L N
2011-09-14 22:17 ` ron minnich
2011-09-14 22:41 ` L N
2011-09-14 22:54 ` John Floren
2011-09-14 23:14 ` Francisco J Ballesteros
2011-09-14 23:19 ` L N
2011-09-14 23:30 ` hiro
2011-09-14 23:33 ` ron minnich
2011-09-14 23:43 ` Akshat Kumar
2011-09-14 23:45 ` hiro
2011-09-15 0:39 ` L N
2011-09-14 23:32 ` ron minnich
2011-09-14 23:43 ` Nick LaForge
2011-09-15 9:40 ` dexen deVries
2011-09-16 0:02 ` Ethan Grammatikidis
2011-09-16 0:15 ` ron minnich
2011-09-16 0:31 ` [9fans] my kingdom for a web browser :-P Lyndon Nerenberg
2011-09-16 0:41 ` ron minnich
2011-09-16 0:53 ` Lyndon Nerenberg
2011-09-16 1:21 ` erik quanstrom
2011-09-16 2:13 ` Bruce Ellis
2011-09-16 2:46 ` Lyndon Nerenberg
2011-09-16 3:58 ` Bruce Ellis
2011-09-16 14:52 ` Ethan Grammatikidis
2011-09-16 5:53 ` Anthony Sorace
2011-09-16 10:11 ` Aram Hăvărneanu
2011-09-16 14:56 ` Ethan Grammatikidis
2011-09-16 15:17 ` tlaronde
2011-09-16 17:36 ` Bruce Ellis
2011-09-18 5:39 ` stephano zanzin
2011-09-16 11:28 ` Steve Simon
2011-09-16 14:43 ` Ethan Grammatikidis
2011-09-16 3:46 ` Jens Staal [this message]
2011-09-16 9:07 ` [9fans] Nemo book yy
2011-09-19 15:43 ` ron minnich
2011-09-19 16:37 ` Jens Staal
2011-09-19 17:50 ` Charles Forsyth
2011-09-19 18:10 ` tlaronde
2011-09-19 18:21 ` erik quanstrom
2011-09-19 20:32 ` Richard Miller
2011-09-20 3:20 ` Jens Staal
2011-09-20 10:07 ` Richard Miller
2011-09-16 11:15 ` Steve Simon
[not found] ` <CAP6exYK+8TbaceUcfTAnuWruxahHvMmSgqGHKpH7jcZME=C5ww@mail.gmail.c>
2011-09-16 0:18 ` erik quanstrom
2011-09-16 4:52 ` L N
2011-09-16 7:21 ` David du Colombier
2011-09-16 7:28 ` cinap_lenrek
2011-09-16 8:33 ` Richard Miller
2011-09-14 23:27 ` Jeff Sickel
2011-09-14 23:55 ` Rob Pike
2011-09-14 22:27 ` hiro
2011-09-14 21:58 ` s s
-- strict thread matches above, loose matches on Subject: below --
2009-08-17 15:20 [9fans] nemo book Benjamin Huntsman
2009-08-17 16:07 ` John Floren
2009-08-17 20:52 ` Steve Simon
2009-08-17 21:01 ` Benjamin Huntsman
2009-08-17 21:20 ` John Floren
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=CAK8RtFqFqLbpVmO+XkH-DH079WpSQWEguhXkm-_Uw0Xk3jLDHQ@mail.gmail.com \
--to=staal1978@gmail.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).