<div dir="ltr">It won't work in our case because the gcc 4.9 build we have references it's own c rts lib, which is 4.9 specific, and is notably different than what is on a stock Mac<div><br></div><div>Imagine if we were to ship a libHSrts.a, compiled against the gcc 4.9 libc (and it's includes). Now a user without gcc 4.9 on thier system, installs that bindist. And when they compile code that references libc, it'll compile against the system libc (and it's includes). If tha code is paired with Haskell code (or *is* Haskell code via the FFI), and is then linked with libHSrts.a from the bindist.... now we have an executable that has parts compiled against two different libc-s. This won't work unless the two libcs (and their includes) are ABI compatible.... which I don't know if it is between gcc's 4.9 libc, and the libc Apple ships for it's systems.</div>

<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 12, 2014 at 6:40 PM, Carter Schonwald <span dir="ltr"><<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">why wouldn't it work?<div><br></div><div>heres my 4.9 gcc build, I believe it should work on any >= 10.7 system that has xcode cli tools installed,</div>

<div>please let me know if it fails!</div><div>

<br></div><div><a href="http://www.wellposed.com/opensource/ghc/releasebuild-unofficial/ghc-7.8.3-x86_64-apple-darwin.tar.bz2" target="_blank">http://www.wellposed.com/opensource/ghc/releasebuild-unofficial/ghc-7.8.3-x86_64-apple-darwin.tar.bz2</a><br>



</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 12, 2014 at 9:04 PM, Mark Lentczner <span dir="ltr"><<a href="mailto:mark.lentczner@gmail.com" target="_blank">mark.lentczner@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I will try to measure on 10.7 later today.<div><br></div><div>Preliminary numbers for gcc 4.9 are even better than clang - it saves 12% over gcc 4.2 builds. However, the gcc runtime isn't the same as the Apple standard... and we are so far at a loss how to package a ghc based on 4.9 that would work for Mac users without gcc 4.9.</div>





<div><br></div><div>- Mark</div>​</div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>