<div><div dir="auto">I put some notes on trac.  I’ll see about updating build notes later.  </div><div dir="auto"><br></div><div dir="auto">I did find some stuff in the Mach linker that needs to be handled differently on gcc vs clang on Mac.  And likely needs a patch so it also builds clean with gcc </div><br><div class="gmail_quote"><div>On Thu, Dec 28, 2017 at 10:26 AM Ben Gamari <<a href="mailto:ben@smart-cactus.org">ben@smart-cactus.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Carter Schonwald <<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>> writes:<br>
<br>
> digging around in <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> it looks like i need to set CC_STAGE0 env<br>
> variable to my desired CC :)<br>
><br>
> hope this helps other folks... but it definiely seems like the current<br>
> logic for CC_STAGE0 is more brittle than for CC<br>
><br>
Indeed, I've realized over the last few weeks in attempts to<br>
cross-compile GHC that our configure script is a bit... let's say<br>
peculiar in several respects.<br>
<br>
Do record your findings on the Wiki. They will be much easier to find<br>
there than buried on ghc-devs.<br>
<br>
Cheers,<br>
<br>
- Ben<br>
</blockquote></div></div>