From c2ac244a39b1a4eda02bbf47cba2a6b70f07f2d8 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 11 Jul 2009 15:39:48 +0000 Subject: [PATCH] Document darwin, and fat binaries. [SVN r54894] --- doc/src/reference.xml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/doc/src/reference.xml b/doc/src/reference.xml index 9f8302a22..f0009fea2 100644 --- a/doc/src/reference.xml +++ b/doc/src/reference.xml @@ -746,9 +746,10 @@ using gcc : 4.0 : g++-4.0 ; The gcc module supports the GNU C++ compiler - on Linux, a number of Unix-like system including MacOS X, SunOS and - BeOS, and on Windows (either Cygwin - or MinGW). + on Linux, a number of Unix-like system including SunOS and on Windows + (either Cygwin or + MinGW). On Mac OSX, it is recommended + to use system gcc, see . The gcc module is initialized using the following @@ -811,6 +812,28 @@ using gcc : &toolset_ops; ; +
+ + Apple Darwin gcc + + The darwin module supports the version of gcc that is + modified and provided by Apple. The configuration is essentially identical + to that of the gcc module. + + + + fat binaries + The darwin toolset can generate so called "fat" + binaries—binaries that can run support more than one + architecture, or address mode. To build a binary that can run both + on Intel and PowerPC processors, specify + architecture=combined. To build a binary that can run + both in 32-bit and 64-bit modes, specify + address-model=32_64. If you specify both of those + properties, a "4-way" fat binary will be generated. + + +