Re: [Haskell-cafe] GHC exceeding command line length limit with split-objs - and a possible fix

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. John L.
From: Eugene Kirpichov
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 :)

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
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 :)

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
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
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/

Hi Eugene,
I think I did run into this problem before, and had to turn of split-objs
temporarily to work around it. I'd appreciate a fix.
Best,
Ozgur
On 11 January 2012 14:14, Eugene Kirpichov
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)
participants (4)
-
Eugene Kirpichov
-
Hans Aberg
-
John Lato
-
Ozgur Akgun