From ef9641e111c4371d9e332ad7fd9ed68c877f3cb3 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Mon, 31 Oct 2011 07:42:49 +0000 Subject: [PATCH] Some updates to the ReadMe's. Basically remove references to BeOS being a supported build platform. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43020 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- ReadMe | 32 ++++++++++++-------------------- ReadMe.cross-compile | 21 +++++++++++---------- 2 files changed, 23 insertions(+), 30 deletions(-) diff --git a/ReadMe b/ReadMe index 5bf4fa894f..cb34eee8f4 100644 --- a/ReadMe +++ b/ReadMe @@ -1,15 +1,14 @@ -Building on BeOS -================ +Building on Haiku +================= -For building on BeOS you need the development tools from: +For building on Haiku, all of the necessary development tools are included in +both official releases (R1 alpha 1 for instance) and the nightly builds. - http://haiku-os.org/downloads +Official releases can be obtained from www.haiku-os.org/get-haiku +The nightly builds are available at http://www.haiku-files.org -Please always use the most recent versions. They are required to build Haiku. - - -Building on a non-BeOS platform -=============================== +Building on a non-Haiku platform +================================ Please read the file 'ReadMe.cross-compile' before continuing. It describes how to build the cross-compilation tools and configure the build system for @@ -17,19 +16,13 @@ building Haiku. After following the instructions you can directly continue with the section Building. -Configuring on BeOS -=================== +Configuring on Haiku +==================== Open a Terminal and change to your Haiku trunk folder. To configure the build you can run configure like this: - ./configure --target=TARGET - -Where "TARGET" is the target platform that the compiled code should run on: - * haiku (default) - * r5 - * bone - * dano (also for Zeta) + ./configure The configure script generates a file named "BuildConfig" in the "generated/build" directory. As long as configure is not modified (!), there @@ -78,13 +71,12 @@ Bootable CD-ROM Image This _requires_ having the mkisofs tool installed. On Debian GNU/Linux for example you can install it with: apt-get install mkisofs -On BeOS you can get it from http://bebits.com/app/3964 along with cdrecord. This creates a bootable 'haiku-cd.iso' in your 'generated/' folder: jam -q haiku-cd -Under Unix/Linux, and BeOS you can use cdrecord to create a CD with: +Under Unix/Linux, and Haiku you can use cdrecord to create a CD with: cdrecord dev=x,y,z -v -eject -dao -data generated/haiku-cd.iso diff --git a/ReadMe.cross-compile b/ReadMe.cross-compile index 512468eaed..5b4291ff2e 100644 --- a/ReadMe.cross-compile +++ b/ReadMe.cross-compile @@ -1,16 +1,16 @@ -Building on a non-BeOS platform -=============================== +Building on a non-Haiku platform +================================ -We currently support these non-BeOS platforms: +We currently support these non-Haiku platforms: * Linux * FreeBSD * Mac OS X Intel (gcc 4 builds only) -To build Haiku on a non-BeOS platform you must first check out and build the -cross-compiler. The easiest method for doing so is to check it out in the -parent directory of your Haiku repository: +To build Haiku on a platform other than Haiku, you must first check out and +build the cross-compiler. The easiest method for doing so is to check it out in +the parent directory of your Haiku repository: - svn checkout svn://svn.berlios.de/haiku/buildtools/trunk buildtools + svn checkout http://svn.haiku-os.org/haiku/buildtools/trunk buildtools You should now have a 'buildtools' folder that contains folders named 'binutils', 'gcc', and 'jam' among others. @@ -46,10 +46,11 @@ Change to the buildtools folder and we will start to build 'jam' which is a requirement for building Haiku. Run the following commands to generate and install the tool: - cd buildtools/jam + cd buildtools/jam make sudo ./jam0 install - + -- or -- + ./jam0 -sBINDIR=$HOME/bin install Building binutils ================= @@ -68,7 +69,7 @@ frequent build issues. The commands for configuration are, GCC 2.95 -------- - cd haiku + cd haiku ./configure --build-cross-tools ../buildtools/ GCC 4.x