Thanks, looks like I already succeeded by downloading xcode 3.

Now my original question remains - is such a change a good idea?
(I've already found the place in code where the fix has to be made; should take an hour of work at most)

On Wed, Jan 11, 2012 at 6:07 PM, Hans Aberg <haberg-1@telia.com> wrote:
On 11 Jan 2012, at 13:38, John Lato wrote:

> I used https://github.com/kennethreitz/osx-gcc-installer/downloads to
> get a real gcc on Lion.  Biggish download, but it worked.  I've also
> seen reports of success by self-compiling gcc, or by installing XCode
> 4 on top of an existing XCode 3 installation.

GCC 4.6.2 builds on OS X 10.7 with Xcode 4.2. Build GMP 5.0.2 with clang, and then GCC with /usr/bin/gcc -> llvm-gcc-4.2. I think I saw someone guild GCC 4.7, but this is highest stable.

Hans

>> From: Eugene Kirpichov <ekirpichov@gmail.com>
>>
>> Oh well... looks like building ghc won't be easy, as it doesn't build with
>> llvm-gcc and it's not easy to get a "real" gcc on Lion. But I don't stop
>> trying :)





--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/