[Issue 2968] New: Add a pragma(framework) on osx

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 12 13:59:30 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2968

           Summary: Add a pragma(framework) on osx
           Product: D
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: doob at me.com


Currently it's not possible to link to a framework using pragam(lib) on Mac OS
X.
Because almost all non posix system libraries are frameworks on Mac OS X it's
more difficult to link to system libraries on Mac OS X. Therefore I suggest
adding a new pragma only available on Mac OS X: pragma(framework). It will work
just as pragma(lib) but pass "-framework Framework" to gcc instead of
"-llibrary"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list