Changes between Version 29 and Version 30 of UsingTheRightCompiler


Ignore:
Timestamp:
Jul 30, 2014, 6:52:53 PM (10 years ago)
Author:
cooljeanius (Eric Gallager)
Comment:

Mention "compiler.blacklist" and friends, which had previously been missing from this page

Legend:

Unmodified
Added
Removed
Modified
  • UsingTheRightCompiler

    v29 v30  
    4949but what you probably want to do instead is overwrite the ${configure.compiler} variable,
    5050which sets all the related variables for you simultaneously.
     51However, instead of overriding ${configure.compiler} manually,
     52in most cases you should instead use some combination of the following keywords instead:
     53 - `compiler.blacklist` (prevent the named compiler from being used)
     54 - `compiler.whitelist` (only allow the named compiler to be used)
     55 - `compiler.fallback` (if all other compilers are blacklisted, allow the named compiler to be used)
     56These keywords all modify the compiler fallback list,
     57which can be found in the MacPorts sources:  [[browser:tags/release_2_3_1/base/src/port1.0/portconfigure.tcl#L426]]
     58
    5159MacPorts knows about several compilers:
    5260