to answer the question of the other poster, ghc 7.0.2 packaged installer, 64 bit build<div><br></div><div>Jurrien, I wound up doing something similar, namely just wholesale copying the 10.5 sdk into the sdks folder. </div>
<div><br></div><div>i'm still curious why this problem even exists!<br><br><div class="gmail_quote">2011/3/10 Jurriën Stutterheim <span dir="ltr"><<a href="mailto:j.stutterheim@students.uu.nl">j.stutterheim@students.uu.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I solved it by making a symlink from /Developer/SDKs/MacOSX10.6.sdk to /Developer/SDKs/MacOSX10.5.sdk (which is missing with XCode 4). So far it seems to work :)<br>
<br>
<br>
Jurriën<br>
<div><div></div><div class="h5"><br>
<br>
On 10 Mar, 2011, at 06:53 , Carter Schonwald wrote:<br>
<br>
> after experimenting by just naively moving the old Developer directory back to its original location preceding the installation of xcode 4, everything builds properly now.<br>
><br>
> still, this is not a reasonable long term solution. Any ideas about how this might be fixed?<br>
><br>
> On Thu, Mar 10, 2011 at 12:33 AM, Carter Schonwald <<a href="mailto:carter.schonwald@gmail.com">carter.schonwald@gmail.com</a>> wrote:<br>
> Hey All,<br>
> As of installing xcode 4 earlier today,<br>
><br>
> i'm getting errors of the form<br>
> ld: library not found for -lcrt1.10.5.o<br>
> collect2: ld returned 1 exit status<br>
><br>
> for any haskell code that invokes ld in its cabal install process.<br>
> 1) is this related to some problem in xcode / what the haskell code defaults to linking to?<br>
> 2) is this something completely unrelated?<br>
><br>
> thanks!<br>
> -Carter<br>
><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br>
</blockquote></div><br></div>