Skip to content

Commit

Permalink
ReadMe.Compiling: Various updates.
Browse files Browse the repository at this point in the history
 * Remove parenthetical about cross-tools not being needed on Haiku,
   as they are indeed on x86_64.
 * Replace mkisofs/genisoimage with xorriso.
 * Move mtools to the list of tools generally needed, as EFI builds
   require them.
 * Update clone URLs and GCC version numbers.
  • Loading branch information
waddlesplash committed Jan 9, 2019
1 parent b3dc16e commit 5d200bd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions ReadMe.Compiling.md
Expand Up @@ -16,11 +16,11 @@ Required Software
----------------------------
Tools provided within Haiku's repositories:
* `jam` (Jam 2.5-haiku-20111222)
* Haiku's cross-compiler (needed only for non-Haiku platforms)
* Haiku's cross-compiler

The tools to compile Haiku will vary, depending on the platform that you are
using to build Haiku. When building from Haiku, all of the necessary
development tools are included in official releases (e.g. R1/alpha4) and in the
development tools are included in official releases (e.g. R1/beta1) and in the
nightly builds.

* `git`
Expand All @@ -35,7 +35,8 @@ nightly builds.
* `nasm`
* `wget`
* `[un]zip`
* `cdrtools` (preferred) or `genisoimage`
* `xorriso`
* `mtools` (<https://gnu.org/software/mtools/intro.html>)
* case-sensitive file system

Whether they are installed can be tested by running them in a shell with
Expand All @@ -48,7 +49,6 @@ The following libraries (and their respective headers) are required:
If you want to compile Haiku for ARM, you will also need:

* `mkimage` (<http://www.denx.de/wiki/U-Boot/WebHome>)
* Mtools (<https://gnu.org/software/mtools/intro.html>)

### On macOS

Expand Down Expand Up @@ -79,10 +79,9 @@ The buildtools are needed only for non-Haiku platforms.

Anonymous checkout:
```
git clone https://git.haiku-os.org/haiku
git clone https://git.haiku-os.org/buildtools
git clone https://review.haiku-os.org/haiku.git
git clone https://review.haiku-os.org/buildtools.git
```
(You can also use the `git://` protocol, but it is not secure).

If you have commit access:
```
Expand Down Expand Up @@ -126,21 +125,21 @@ haiku/
haiku/generated.x86gcc2
```

### Configure a GCC 2.95/GCC 5 Hybrid, from a non-Haiku platform
### Configure a GCC 2.95/GCC 7 Hybrid, from a non-Haiku platform
```bash
cd haiku/generated.x86gcc2
../configure \
--build-cross-tools x86_gcc2 ../../buildtools/ \
--build-cross-tools x86
```

### Configure an x86_64 (GCC 5) build, from a non-Haiku platform
### Configure an x86_64 (GCC 7) build, from a non-Haiku platform
```
cd haiku/generated.x86_64
../configure --build-cross-tools x86_64 ../../buildtools/
```

### Configure a GCC 2.95/GCC 5 Hybrid, from Haiku
### Configure a GCC 2.95/GCC 7 Hybrid, from Haiku
```
cd haiku/generated.x86gcc2
../configure --target-arch x86_gcc2 --target-arch x86
Expand Down

0 comments on commit 5d200bd

Please sign in to comment.