From cd29a3086444363d837766ee4e7b6b9d5c5c1357 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 14 Jul 2002 22:10:54 +0000 Subject: [PATCH] Updated to reflect the current building process. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@228 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- ReadMe | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/ReadMe b/ReadMe index 704a170cf3..80306e364e 100644 --- a/ReadMe +++ b/ReadMe @@ -2,11 +2,13 @@ Building -------- The build system uses Jam/MR (http://www.perforce.com/jam/jam.html). -A BeOS executable of Jam 2.3.1 is available at: +A BeOS executable of Jam 2.4 is available at: http://open-beos.sf.net/misc/jam.zip Unzip the executable and copy it to /boot/home/config/bin. +The Jam source code is also included in the source tree. You can as well cd +into "src/tools/jam" and run "make" to obtain an executable. To build the whole source tree, launch a Terminal, cd into the openbeos root directory and just type: @@ -28,27 +30,40 @@ Running ------- If the build went fine, a file named floppy.x86 had been created in the -root directory of the source tree. What you want to do now, is to boot from -this floppy image. Therefore you either write the image onto a real floppy -disk and restart you computer, or you write it onto a "virtual floppy disk" -emulated by a x86 PC emulator and just start this emulator. +target specific objects directory (objects/x86.R1 for x86 machines). +What you want to do now, is to boot from this floppy image. Therefore you +either write the image onto a real floppy disk and restart you computer, or +you write it onto a "virtual floppy disk" emulated by a x86 PC emulator and +just start this emulator. 1. Real Floppy Put in the disk and type in the source tree's root dir: - $ dd if=floppy.x86 of=/dev/disk/floppy/raw bs=18k + $ dd if=objects/x86.R1/floppy.x86 of=/dev/disk/floppy/raw bs=18k 2. Emulated Floppy (Bochs) Type: - $ dd if=floppy.x86 of= bs=18k + $ dd if=objects/x86.R1/floppy.x86 of= bs=18k where has to be replaced with the filename of the floppy image Bochs has been told to use (e.g. /tmp/obos.img). +For both cases there is also an simpler way: + + $ jam installfloppy + +This builds the floppy image, if it is not up to date, and writes it to a +previously specified location. Therefore you must tell configure where this +location is: + + $ ./configure --floppy /dev/disk/floppy/raw + +Ananlogously for the emulated floppy. + Bochs ----- @@ -93,7 +108,7 @@ ips: 2000000 Now put the OBOS boot image onto you "virtual" floppy and start Bochs: $ cd - $ dd if=floppy.x86 of=/tmp/obos.img bs=18k + $ jam installfloppy $ cd /boot/apps/BeBochs1.4 $ ./bochs