1.1 --- a/docs/README.macos.txt Tue Aug 10 13:25:52 2010 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,50 +0,0 @@
1.4 -22 May 2010 - Titus
1.5 -
1.6 -Prerequisites and instructions for using crosstool-NG for building a cross
1.7 -toolchain on MacOS as host.
1.8 -
1.9 -0) Mac OS Snow Leopard, with Developer Tools 3.2 installed, or
1.10 - Mac OS Leopard, with Developer Tools & newer gcc (>= 4.3) installed
1.11 - via macports
1.12 -
1.13 -1) You have to use a case sensitive file system for ct-ng's build and target
1.14 - directories. Use a disk or disk image with a case sensitive fs that you
1.15 - mount somewhere.
1.16 -
1.17 -2) Install macports (or similar easy means of installing 3rd party software),
1.18 - make sure that macport's bin dir is in your PATH.
1.19 - Furtheron assuming it is /opt/local/bin.
1.20 -
1.21 -3) Install (at least) the following macports
1.22 - ncurses
1.23 - lzmautils
1.24 - libtool
1.25 - binutils
1.26 - gsed
1.27 - gawk
1.28 - gcc43 (only necessary for Leopard OSX 10.5)
1.29 -
1.30 - On Leopard, make sure that the macport's gcc is called with the default
1.31 - commands (gcc, g++,...), e.g. via macport gcc_select
1.32 -
1.33 -4) run ct-ng's configure with the following tool configuration
1.34 - (assuming you have installed the tools via macports in /opt/local):
1.35 - ./configure --with-sed=/opt/local/bin/gsed \
1.36 - --with-libtool=/opt/local/bin/glibtool \
1.37 - --with-objcopy=/opt/local/bin/gobjcopy \
1.38 - --with-objdump=/opt/local/bin/gobjdump \
1.39 - --with-readelf=/opt/local/bin/greadelf \
1.40 - [...other configure parameters as you like...]
1.41 -
1.42 -5) proceed as described in standard documentation
1.43 -
1.44 ------
1.45 -
1.46 -HINTS:
1.47 -- Apparently, GNU make's builtin variable .LIBPATTERNS is misconfigured
1.48 - under MacOS: It does not include lib%.dylib.
1.49 - This affects build of (at least) gdb-7.1
1.50 - Put 'lib%.a lib%.so lib%.dylib' as .LIBPATTERNS into your environment
1.51 - before executing ct-ng build.
1.52 - See http://www.gnu.org/software/make/manual/html_node/Libraries_002fSearch.html
1.53 - as an explanation.