#5011: installing xcode 4 breaks ghc linking
-------------------------------+--------------------------------------------
    Reporter:  carter          |       Owner:              
        Type:  bug             |      Status:  new         
    Priority:  normal          |   Component:  Compiler    
     Version:  7.0.2           |    Keywords:              
    Testcase:                  |   Blockedby:              
          Os:  MacOS X         |    Blocking:              
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown
-------------------------------+--------------------------------------------

Comment(by altaic):

 Correction: `-isysroot /Developer/SDKs/MacOSX10.5.sdk` is specified in
 `aclocal.m4`. I'm not sure why it's there; `-mmacosx-version-min=10.5` is
 sufficient to make sure the 10.4 and earlier SDKs aren't attempted, yet
 newer SDKs are useable. Apple is also pretty good about supporting
 deprecated functions for a couple generations of SDKs, so the 10.6 SDK
 should be fine without having to rework anything.

 For instance, I just built a new ghc HEAD against 10.6's SDK. I removed
 the `-isysroot /Developer/SDKs/MacOSX10.5.sdk` entries from `aclocal.m4`,
 ran `make maintainer-clean`, `perl boot`, `./configure --with-macosx-
 deployment-target=10.6 --enable-bootstrap-with-devel-snapshot`, and
 finally `make -j2`. The build works fine... In fact, the build against
 10.6's SDK passed four more tests in the test suite than the previous
 build against 10.5's SDK (although I'd since pulled a couple patches).

 I no longer have Xcode 3 since Xcode 4 overwrote it, and I haven't yet
 been bothered to copy the 10.5 SDK over from an old Xcode 3 pkg. No
 worries.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5011#comment:5>
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

Reply via email to