Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000153 [cparser] unknown feature always 2015-07-30 19:02 2015-07-30 19:02
Reporter jonashaag View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0000153: Support for -framework flag
Description On Mac OS X, the cc and ld command support the "-framework" flag:

-framework name[,suffix]
                 This option tells the linker to search for `name.frame-
                 work/name' the framework search path. If the optional suffix
                 is specified the framework is first searched for the name
                 with the suffix and then without (e.g. look for `name.frame-
                 work/name_suffix' first, if not there try `name.frame-
                 work/name').

Support for this required to build most software on OS X. A particular instance of this is to compile Python extension modules:

$ python2-config --libs # Compiler flags for building extension modules
-lpython2.7 -ldl -framework CoreFoundation

The "-framework" flag is supported by both Clang and GCC on OS X and applies to all (?) input languages.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-07-30 19:02 jonashaag New Issue


Mantis 1.1.5[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker