help-hurd
[Top][All Lists]
Advanced

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

Cross-compile GNU/Hurd?


From: Vitalie Ciubotaru
Subject: Cross-compile GNU/Hurd?
Date: Thu, 28 Jun 2007 14:58:30 -0700
User-agent: G2/1.0

Hi ALL,

I am very interested in exploring Hurd. I installed it from a tarball
and played with it for a while. Might sound like a stupid idea, but I
would really like to compile "my own" Hurd [that's how I started with
Linux].
Specifically, I want to cross-build a minimal Hurd system from Linux,
then boot into it and build a functional box.
I found Thomas Schwinge's cross-compilation scripts ["cross-gnu" and
"cross-gnu-env"] -- they are absolutely magnificent. Now I have a
working cross-compile envirenment (cross-binutils, gcc, gnumach
headers, mig, hurd headers and glibc).
It is functional, because I managed to cross-compile binutils and gcc,
then bash, bzip, coreutils, diffutils, findutils, gawk, gettext, grep,
gzip, make, patch, sed and tar. I even tried to run "my" bash and some
coreutils executables from Hurd and they seem to work ok.
However, there are a lot of things to be figured out before I can move
any further.
1. Is it generally possible to obtain a working GNU/Hurd, entirely
cross-compiled from "clean" source [no patches, no weird version
numbers]?
2. Is there a good manual about Hurd system internals [like "From
Power Up to Bash Prompt" for Linux]?
3. Anything else I have to know, but can not formulate ...
Well, yes, I know that it would be much easier to use Debian tools to
cross-compile Hurd, but that's not for me for at least two reasons:
1. I'd need a Debian GNU/Linux system, while all I have is a self-
compiled GNU/Linux :(
2. Cross-compiling it the Debian way actually means replicating Debian
GNU/Hurd, using Debian tools (apt-get, dpkg, crosshurd etc.) and
Debian sources (you said apt-get sources, right?). It's not bad at
all, but I'd really want to study Hurd by recreating it.

Best regards,

Vitalie CIUBOTARU



reply via email to

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