[MacPorts] FAQ modified

MacPorts noreply at macports.org
Fri Oct 2 00:37:50 PDT 2009


Changed page "FAQ" by blb at macports.org from 97.112.137.159*
Page URL: <http://trac.macports.org/wiki/FAQ>
Diff URL: <http://trac.macports.org/wiki/FAQ?action=diff&version=87>
Revision 87
Comment: Warnings about using build_arch

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: FAQ
=========================================================================
--- FAQ (version: 86)
+++ FAQ (version: 87)
@@ -216,6 +216,14 @@
 }}}
 This will install the curl port again, adding the +ssl variant.
 
+=== Using build_arch === #usingbuildarch
+
+MacPorts 1.8 introduced a new option to macports.conf: '''build_arch'''.  This allows you to control the architecture targeted by builds.  For example, you can use this to build 64bit on 10.5 (where 32bit is the default) or 32bit on 10.6 (where 64bit is usually the default).
+
+There are two issues to note before you try and use build_arch:
+ - many ports ignore the {{{-arch}}} flag to select the architecture, and will most likely fail to build at all
+ - you must set build_arch prior to building any ports (must be done on a new, clean install), otherwise you will have major issues due to some ports being of one architecture, and some the other.
+
 
 == Portfile Development and Maintenance Questions ==
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on FAQ. If it was not you, please
report to .


More information about the macports-changes mailing list