#4852: cabal doesn't tell ./configure which gcc to use
----------------------------------+-----------------------------------------
    Reporter:  kazu-yamamoto      |        Owner:  igloo
        Type:  bug                |       Status:  new  
    Priority:  highest            |    Milestone:  7.0.2
   Component:  libraries (other)  |      Version:  7.1  
    Keywords:                     |     Testcase:       
   Blockedby:                     |   Difficulty:       
          Os:  Unknown/Multiple   |     Blocking:       
Architecture:  Unknown/Multiple   |      Failure:  Other
----------------------------------+-----------------------------------------

Comment(by kazu-yamamoto):

 I tested this with today's the ghc-7.0 branch compiled with GHC
 6.12.3/32bit on Snow Leapard. hsc2hs does not work well yet. Afeter
 modifiying
 {{{
 SC2HS_EXTRA="--cflag=-march=i686 --cflag=-m32 --cflag=-isysroot
 --cflag=/Devel
 oper/SDKs/MacOSX10.5.sdk --cflag=-mmacosx-version-min=10.5 --cflag=-fno-
 stack-pr
 otector "
 }}}
 to
 {{{
 HSC2HS_EXTRA="--cflag=-isysroot --cflag=/Developer/SDKs/MacOSX10.6.sdk
 --cflag=-
 mmacosx-version-min=10.5 --cflag=-fno-stack-protector "
 }}}
 everything became fine.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4852#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to