diff options
author | Titus von Boxberg <titus@v9g.de> | 2010-05-25 16:25:11 (GMT) |
---|---|---|
committer | Titus von Boxberg <titus@v9g.de> | 2010-05-25 16:25:11 (GMT) |
commit | 9bc6e2e62533497463f3a718c0125eb88de4a19c (patch) | |
tree | 250dcbaeae7f7d24ffb0d313e965dda3eda02c01 /docs/README.macos.txt | |
parent | b0c3365d150e97e49c28b9b2ebb9482aa4dcce07 (diff) |
docs: Provide new Readme for MacOS
Short README for usage of ct-ng under MacOS.
Remove obsolete MacOS-X.txt
yann.morin.1998@anciens.enib.fr:
Make it 80-columns clean, plus a few fixes
Diffstat (limited to 'docs/README.macos.txt')
-rw-r--r-- | docs/README.macos.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/README.macos.txt b/docs/README.macos.txt new file mode 100644 index 0000000..06f8197 --- /dev/null +++ b/docs/README.macos.txt @@ -0,0 +1,39 @@ +22 May 2010 - Titus + +Prerequisites and instructions for using crosstool-NG for building a cross +toolchain on MacOS as host. + +0) Mac OS Snow Leopard, with Developer Tools 3.2 installed, or + Mac OS Leopard, with Developer Tools & newer gcc (>= 4.3) installed + via macports + +1) You have to use a case sensitive file system for ct-ng's build and target + directories. Use a disk or disk image with a case sensitive fs that you + mount somewhere. + +2) Install macports (or similar easy means of installing 3rd party software), + make sure that macport's bin dir is in your PATH. + Furtheron assuming it is /opt/local/bin. + +3) Install (at least) the following macports + ncurses + lzmautils + libtool + binutils + gsed + gawk + gcc43 (only necessary for Leopard OSX 10.5) + + On Leopard, make sure that the macport's gcc is called with the default + commands (gcc, g++,...), e.g. via macport gcc_select + +4) run ct-ng's configure with the following tool configuration + (assuming you have installed the tools via macports in /opt/local): + ./configure --with-sed=/opt/local/bin/gsed \ + --with-libtool=/opt/local/bin/glibtool \ + --with-objcopy=/opt/local/bin/gobjcopy \ + --with-objdump=/opt/local/bin/gobjdump \ + --with-readelf=/opt/local/bin/greadelf \ + [...other configure parameters as you like...] + +5) proceed as described in standard documentation |