From 664fda183dd77c991b0a134f56a9d6f1dec685b4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 13 Nov 2007 18:28:30 +0100 Subject: Move to a suitable place. --- howtos.mdwn | 2 +- hurd/building.mdwn | 2 ++ hurd/building/example.mdwn | 58 ++++++++++++++++++++++++++++++++++++++++++++++ hurdcompilation.mdwn | 58 ---------------------------------------------- hurdlibraryhowto.mdwn | 2 +- 5 files changed, 62 insertions(+), 60 deletions(-) create mode 100644 hurd/building/example.mdwn delete mode 100644 hurdcompilation.mdwn diff --git a/howtos.mdwn b/howtos.mdwn index 85e53bc8..a9a34818 100644 --- a/howtos.mdwn +++ b/howtos.mdwn @@ -21,4 +21,4 @@ is included in the section entitled ## Compilation * [[GNUMachCompilation]] Compiling GNU Mach from sources - * [[HurdCompilation]] Compilation of Hurd sources + * An [[hurd/building/example]] about the compilation of Hurd sources diff --git a/hurd/building.mdwn b/hurd/building.mdwn index 5b88ac7c..7a24f70a 100644 --- a/hurd/building.mdwn +++ b/hurd/building.mdwn @@ -1,3 +1,5 @@ +Additional to the following text, a further [[example]] has be posted. + /!\ The following information may very well be incomplete and out-dated. diff --git a/hurd/building/example.mdwn b/hurd/building/example.mdwn new file mode 100644 index 00000000..0adaf1f8 --- /dev/null +++ b/hurd/building/example.mdwn @@ -0,0 +1,58 @@ +[[meta copyright="Copyright © 2007 Free Software Foundation, Inc."]] +[[meta license="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU_Free_Documentation_License|/fdl]]."]] + +I checked out the source code on my Ubuntu GNU/Linux system connected to the +Internet using: + + cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/hurd co hurd + +I mounted the hurd directory on Ubuntu from my GNU Hurd system connected to the +LAN through NFS: + + settrans -ac /mnt /hurd/nfs ubuntu:/home/shaks/code + +Copy the hurd directory, locally. + +For compilation, you require build-essential, libc0.3-dev, hurd-dev. I used +Debian GNU Hurd K10 CDs for installation and they are available in the first +CD. + + apt-get update + apt-get install build-essential libc0.3-dev hurd-dev + +Enter into the hurd directory and start building it: + + cd hurd + mkdir build + cd build + ../configure + make + +There is a "libiohelp needed by" error. So, do a manual compilation for +libiohelp. + + cd .. + make libiohelp + cd build + make + +There is a "libiostore needed by" error. So, do a manual compilation for +libiostore. + + cd .. + make libiostore + cd build + make + +There is a "libiohelp.so: No such file or directory" error. + +Copy libiohelp/libiohelp.so file to build/libiohelp/ and re-run make, + + make + +The executables are created in the subdirectories in build/ directory. diff --git a/hurdcompilation.mdwn b/hurdcompilation.mdwn deleted file mode 100644 index 0adaf1f8..00000000 --- a/hurdcompilation.mdwn +++ /dev/null @@ -1,58 +0,0 @@ -[[meta copyright="Copyright © 2007 Free Software Foundation, Inc."]] -[[meta license="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU_Free_Documentation_License|/fdl]]."]] - -I checked out the source code on my Ubuntu GNU/Linux system connected to the -Internet using: - - cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/hurd co hurd - -I mounted the hurd directory on Ubuntu from my GNU Hurd system connected to the -LAN through NFS: - - settrans -ac /mnt /hurd/nfs ubuntu:/home/shaks/code - -Copy the hurd directory, locally. - -For compilation, you require build-essential, libc0.3-dev, hurd-dev. I used -Debian GNU Hurd K10 CDs for installation and they are available in the first -CD. - - apt-get update - apt-get install build-essential libc0.3-dev hurd-dev - -Enter into the hurd directory and start building it: - - cd hurd - mkdir build - cd build - ../configure - make - -There is a "libiohelp needed by" error. So, do a manual compilation for -libiohelp. - - cd .. - make libiohelp - cd build - make - -There is a "libiostore needed by" error. So, do a manual compilation for -libiostore. - - cd .. - make libiostore - cd build - make - -There is a "libiohelp.so: No such file or directory" error. - -Copy libiohelp/libiohelp.so file to build/libiohelp/ and re-run make, - - make - -The executables are created in the subdirectories in build/ directory. diff --git a/hurdlibraryhowto.mdwn b/hurdlibraryhowto.mdwn index 47525c50..ddc0d7a9 100644 --- a/hurdlibraryhowto.mdwn +++ b/hurdlibraryhowto.mdwn @@ -11,7 +11,7 @@ is included in the section entitled Build the Hurd sources: ------------------------ -Refer to: [[HurdCompilation]] +Refer to this [[hurd/building/example]]. Create the library files: ---------------------- -- cgit v1.2.3