[Haskell-iPhone] Compilation failure

Schell Scivally efsubenovex at gmail.com
Fri Dec 13 21:35:33 UTC 2013


Hi guys, after wanting for months to try out ghc-ios I finally have some
time to do it. First off thanks for all the work you've done, I can't wait
to get up and running. I seem to be running into a problem early on during
make:

gcc -E  -undef -traditional -Wno-invalid-pp-token -Wno-unicode
-Wno-trigraphs -P -Iincludes -Iincludes/dist
-Iincludes/dist-derivedconstants/header
-Iincludes/dist-ghcconstants/header  -x c compiler/parser/Parser.y.pp |
grep -v '^#pragma GCC' > compiler/stage1/build/Parser.y

cc1: error: unrecognized command line option "-Wno-invalid-pp-token"

cc1: error: unrecognized command line option "-Wno-unicode"

make[1]: *** [compiler/stage1/build/Parser.y] Error 1

make[1]: *** Deleting file `compiler/stage1/build/Parser.y'

make: *** [all] Error 2


My configure line:

./configure --target=i386-apple-darwin11
--with-gcc=i386-apple-darwin11-clang
--with-ghc=/Library/Frameworks/GHC.framework/Versions/7.6.3-x86_64/usr/bin/ghc


Which produces http://lpaste.net/96946.


ghc --info: http://lpaste.net/96947


Thanks again.

-- 
Schell Scivally
http://blog.efnx.com
http://github.com/schell
http://twitter.com/schellsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20131213/8778fa6a/attachment.html>


More information about the iPhone mailing list