[MacPorts] UsingTheRightCompiler modified

MacPorts noreply at macports.org
Fri Jul 3 23:37:11 PDT 2009


Changed page "UsingTheRightCompiler" by wiml at hhhh.org from 209.221.140.12*
Page URL: <http://trac.macports.org/wiki/UsingTheRightCompiler>
Diff URL: <http://trac.macports.org/wiki/UsingTheRightCompiler?action=diff&version=5>
Revision 5
Comment: example of actually using the setting

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: UsingTheRightCompiler
=========================================================================
--- UsingTheRightCompiler (version: 4)
+++ UsingTheRightCompiler (version: 5)
@@ -86,6 +86,11 @@
 additional environment variables FC, F77 and F90 are set to the path of the Fortran compiler.
 These variables are not set for the other compilers because they do not include a Fortran compiler.
 
+These variables can also be overridden when running a particular command. So, for example, to build openssl using the version of gcc-4.2 installed with the Developer Tools, you can run
+
+{{{
+port install openssl configure.compiler=gcc-4.2
+}}}
 
 = Ports with nonstandard or nonexistent configure scripts = #nonstandard-ports
 

-------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 UsingTheRightCompiler. If it was not you, please
report to .


More information about the macports-changes mailing list