#1540: GHC on Macs
-----------------------------+----------------------------------------------
Reporter: guest | Owner: thorkilnaur
Type: task | Status: new
Priority: high | Milestone: 6.8 branch
Component: Build System | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: MacOS X | Testcase:
Architecture: x86 |
-----------------------------+----------------------------------------------
Comment (by guest):
I generate Mac binaries depending on the `GNUreadline` and `GMP`
frameworks. I think, this happens automatically when these frameworks are
installed under /Library/Frameworks.
{{{
otool -L hets
hets:
GNUreadline.framework/Versions/A/GNUreadline (compatibility
version 5.0.0, current version 5.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.10)
GMP.framework/Versions/A/GMP (compatibility version 8.0.0, current
version 8.1.0)
}}}
If the frameworks are only under your home directory they allow running
binaries, but for linking extra flags are needed (i.e.
`-F$HOME/Library/Frameworks -framework GMP`)
I propose to link against these frameworks only, since unpacking the
frameworks looks easier to me, but there may arise problems when different
versions of these frameworks need to be handled.
[EMAIL PROTECTED]
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1540#comment:21>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs