[GHC] #8493: Can't compile happy + ghc with clang's CPP
GHC
ghc-devs at haskell.org
Mon Nov 4 02:52:56 UTC 2013
#8493: Can't compile happy + ghc with clang's CPP
----------------------------------------+----------------------------------
Reporter: maxs | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: libraries (other) | Version: 7.7
Resolution: | Keywords: happy clang
Operating System: MacOS X | Architecture:
Type of failure: Building GHC failed | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
----------------------------------------+----------------------------------
Comment (by carter):
did you try having a wrapper like the following be "gcc" in your path?
{{{
carter Desktop/repoScratcher » cat ~/bin/gcc
#!/bin/sh
gcc-4.8 $@%
}}}
thats how i've solved most of my problems, by making sure the "gcc" in my
path is actually gcc.
just doing the clang wrapper *wont* resolve that, unless you've got it
masquerading as "gcc" too.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8493#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list