Changes between Version 1 and Version 2 of OSXFrameworks


Ignore:
Timestamp:
Nov 28, 2007 9:01:47 PM (7 years ago)
Author:
judah
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSXFrameworks

    v1 v2  
    33There's been some confusion  (myself included) about how OS X frameworks integrate with the compiler and linker.  Apple's documentation is not very clear on some of these points.  So I hope this page will clear up any misconceptions, and let us decide how to integrate them with GHC. 
    44 
    5 First, a review: A framework is a directory ending in {{{.framework}}} which stores headers and object code associated with a library.  Frameworks are always dynamically linked at runtime. 
     5First, a review: A framework is a directory ending in {{{.framework}}} which stores headers and object code associated with a library.  Frameworks are always dynamically linked. 
    66 
    77Note ghc provides the following flags equivalents: 
     
    2323 * {{{Foo.framework/PrivateHeaders/header.h}}}. 
    2424 
    25 Note: if you specify {{{#include <Foo/header.h>}}}, {{{gcc}}} will also search for {{{/usr/local/include/Foo/header.h}}}, and may use it if found. 
     25Note: if you specify {{{#include <Foo/header.h>}}}, {{{gcc}}} will also search for, e.g., {{{/usr/local/include/Foo/header.h}}}, and may use it if found. 
    2626 
    2727==== More unix-y way ====