
29 Aug
2015
29 Aug
'15
9:08 p.m.
Hi, I'm trying of running the zlib test suite using GHC 7.10.2 and hsc2hs 0.67: $ darcs get http://code.haskell.org/zlib/ $ cd zlib $ cabal install $ cd test $ make test hsc2hs --cc=ghc --ld=ghc --lflag=-lz -o ../Codec/Compression/Zlib/Stream.hs ../Codec/Compression/Zlib/Stream.hsc ghc: unrecognised flag: -fno-stack-protector ... compiling ../Codec/Compression/Zlib/Stream_hsc_make.c failed (exit code 1) command was: ghc -c ../Codec/Compression/Zlib/Stream_hsc_make.c -o ../Codec/Compression/Zlib/Stream_hsc_make.o -fno-stack-protector -I/usr/local/stow/ghc-7.10.2/lib/ghc-7.10.2/include/ Am I doing something wrong? Best, -- Andrés