4 ms·
You are right. I started with haskell-platform from brew and ended up with a broken ghc build. "inplace/bin/ghc-stage1" -static -H32m -O -Iincludes -Iinclude
by reddit_clone 13y ago
You are right.
I started with haskell-platform from brew and ended up with a broken ghc build.
"inplace/bin/ghc-stage1" -static -H32m -O -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/Apply.cmm -o rts/dist/build/Apply.o
/usr/local/bin/llc: : error: unable to get target for 'arm-apple-darwin10', see --version and --triple.
make[1]: * [rts/dist/build/Apply.o] Error 1
I am starting over with the binary GHC distribution.
- carterschonwald 13y agoyeah, the brew folks don't understand the point of haskell platform, and honestly botch it. Their GHC formula should have something like ---add-Haskell-Platform-if-this-version-has-it (but a shorted name for it), because haskell platform is tied to specific GHC versions, rather than as another brew formula/package. Haskell platform is tied to very very specific GHC releases, and have specially prepared and tested installers for each major OS target. Brew throws this all away and treats it like a simplistic "nice things" wrapper, when in fact its actually 1+ months of engineering time a year for Mark Lenctzer (and a handful of others) to make sure that everything JUST WORKS™ for new haskellers when they install GHC and tools on a machine. also, for near term sanity, stick to Xcode 4.6 if you're using GHC 7.6 Without some hacky tricks i'm going to help the haskell platform folks work out, GHC 7.8 is the only GHC version that will play nice with OS X mavericks/Xcode 5. Hopefully with the tricks Luke Iannini and I have cooked up, GHC 7.6 in this fall's Haskell Platform release will work very nicely on Mavericks / Xcode 5. (but it will have to be a different haskell platform install than for systems pre Xcode 5)