[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reinventing the Hurd server bootstrap

From: Ludovic Courtès
Subject: Re: Reinventing the Hurd server bootstrap
Date: Sun, 28 Dec 2014 14:38:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Justus Winter <4winter@informatik.uni-hamburg.de> skribis:

> Quoting Ludovic Courtès (2014-12-27 22:22:34)

>> Did you consider using a statically-linked Guile?  This is what we do in
>> the Linux initrd for Guix, and it’s wonderful.  :-)
>> If you take that route, we can make it easier to share code.  (And we
>> can adjust Guile as needed, too.)
> Yes, I actually tried this before I went with TinySCHEME.  I didn't
> managed to get it to work, maybe because the program has to be totally
> stand-alone.  When bootshell starts, there is no filesystem, so one
> cannot load resources from it.

Oh right.  Guile 2.0 relies on the availability of a file system to load
its modules from.  I wonder if we could make some sort of an initrd or
multiboot module that would contain those files?

With Guile 2.2 we may be able to lump all the modules together in a big
ELF image, but that’s not for now.

>> Keep up the good hack!
> I'm excited about it too.  For the first time, I feel like I can
> actually change the bootstrap process that has caused me so much pain
> in the past >,<

Sounds like a big improvement, indeed!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]