[GHC] #5390: Hard-coded /Developer path in Mac ghc
GHC
cvs-ghc at haskell.org
Mon Jun 4 06:32:31 CEST 2012
#5390: Hard-coded /Developer path in Mac ghc
---------------------------------+------------------------------------------
Reporter: Ahruman | Owner: pumpkin
Type: bug | Status: new
Priority: low | Milestone: 7.6.1
Component: Compiler | Version: 7.0.3
Keywords: platform | Os: MacOS X
Architecture: Unknown/Multiple | Failure: GHC doesn't work at all
Difficulty: | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by altaic):
I believe this issue has been fixed; with Haskell Platform 2012.0.0 (OS X,
64 bit), my `/usr/bin/ghc` looks like the following (no references to
`/Developer`, or even `gcc`, for that matter):
{{{
#!/bin/sh
exedir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/lib/ghc-7.4.1"
exeprog="ghc-stage2"
executablename="$exedir/$exeprog"
datadir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/share"
bindir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/bin"
topdir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/lib/ghc-7.4.1"
executablename="$exedir/ghc"
exec "$executablename" -B"$topdir" ${1+"$@"}
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5390#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list