Preferred gcc for use with ghc

Hi, What is the preferred gcc to use with ghc 6.10.1? I'm starting the long and doubtless slow process of putting together a more user friendly (and binary distributable) ghc distribution to be built using MacPorts. The guidance about gcc on the wiki is vague. Is there a best choice? Or at least some versions to be avoided? Best, Greg

gwright:
Hi,
What is the preferred gcc to use with ghc 6.10.1? I'm starting the long and doubtless slow process of putting together a more user friendly (and binary distributable) ghc distribution to be built using MacPorts. The guidance about gcc on the wiki is vague. Is there a best choice? Or at least some versions to be avoided?
I like gcc 4.3.2, but any recent one is probably ok. GCC on the Mac is a bit infamous for not producing as good code as on Linux though, so watch out.

gcc version 4.0.1 (Apple Inc. build 5488) worked for me. I think it comes from XCode 3.1 together with @(#)PROGRAM:ld PROJECT:ld64-85.2.1 XCode 3.0 with gcc version 4.0.1 (Apple Inc. build 5465) and @(#)PROGRAM:ld PROJECT:ld64-77 works only on intel macs but not on powerpc macs. HTH Christian Gregory Wright wrote:
Hi,
What is the preferred gcc to use with ghc 6.10.1? I'm starting the long and doubtless slow process of putting together a more user friendly (and binary distributable) ghc distribution to be built using MacPorts. The guidance about gcc on the wiki is vague. Is there a best choice? Or at least some versions to be avoided?
Best, Greg
participants (3)
-
Christian Maeder
-
Don Stewart
-
Gregory Wright