This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 4 of 8] docs: Provide Readme for MacOS


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1274517187 -7200
# Node ID 381accc52262629eefd7fad9e9089a1b892f3153
# Parent  206a05fc78eb37a63226269a5252d05e0f970f76
docs: Provide Readme for MacOS

Short README for usage of ct-ng under MacOS

diff -r 206a05fc78eb -r 381accc52262 docs/README.macos.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/README.macos.txt	Sat May 22 10:33:07 2010 +0200
@@ -0,0 +1,34 @@
+22 May 2010 - Titus
+
+Prerequisites and instructions for using ct-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

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]