
On Tue, Aug 09, 2011 at 10:52:39AM +1000, Manuel M T Chakravarty wrote:
Ian Lynagh:
On Mon, Aug 08, 2011 at 11:20:18PM +1000, Manuel M T Chakravarty wrote:
Ian Lynagh: You are right that the bindists use the default gcc (i.e., the one with the LLVM backend). That is ok, though, as GHC supplies the stack unwinding linker option.
Do you really mean the bindists (i.e. the .tar.bz2 files), rather than the installers (.pkg)?
Yes, I mean the tar.bz2 file. When I unpack it on Lion and run ./configure, configure picks '/usr/bin/gcc' and not '/usr/bin/gcc-4.2' as the C compiler. (I can force it to use gcc-4.2 with '--with-gcc=/usr/bin/gcc-4.2'.)
Hmm, odd. I've filed #5397 and I'll investigate later.
P.S.: The .pkg package uses a bindist internally. (At least, that was how my original implementation of the packaging worked.) So, the two should usually behave the same.
It uses an installed bindist, I believe, so configure was run on my Mac (XCode < 4) rather than yours (XCode >= 4). Thanks Ian