[Haskell-cafe] installing ghc-6.8.2

michael at schmong.org michael at schmong.org
Wed Apr 2 19:12:16 EDT 2008

It seems there is no ghc 6.8.2 for my version of debian. So I am
compiling from source. 
I ran config with no problem. make generated some errors. I omit all
output except the end. Let me know if Ileft something important out

make all
/usr/bin/ghc -H16m -O -w -I. -Iinclude -Rghc-timing  -ignore-package
Cabal -ignore-package filepath -I../libraries -fglasgow-exts -no-recomp
-c System/FilePath/Posix.hs -o System/FilePath/Posix.o  -ohi
cc1: error: unrecognized option `-fno-unit-at-a-time'
<<ghc: 129595956 bytes, 17 GCs, 2640537/5069484 avg/max bytes residency
(3 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.67 MUT (0.76
elapsed), 0.11 GC (0.14 elapsed) :ghc>>
make[2]: *** [System/FilePath/Posix.o] Error 1
make[1]: *** [boot] Error 2
make: *** [stage1] Error 1

so it's this line that seems of the most interesting

cc1: error: unrecognized option `-fno-unit-at-a-time'

any tips on how to deal with this would be most helpful.

				Michael Litchard

More information about the Haskell-Cafe mailing list