mwotton / Hubris

Bridge from Ruby to Haskell
shimweasel.com
262 stars 16 forks source link

Make failure? #11

Closed agrimm closed 14 years ago

agrimm commented 15 years ago

May be my fault, but I'm mentioning it anyway.

[agrimm@laptopname sample]$ ../bin/jhc_builder Test.hs jhc -dc Test.hs jhc 0.7.2 (0.7.2-0) Finding Dependencies... Using Ho Cache: '/home/agrimm/.jhc/cache' Main [Test.hs] <~/.jhc/cache/7f67ff1d5b5b2b5684d09ad92e27a5a5.ho> Fresh: <~/.jhc/cache/7f67ff1d5b5b2b5684d09ad92e27a5a5.ho> Typechecking... Compiling... Collected Compilation... -- typeAnalyzeMethods -- BoxifyProgram -- Boxy WorkWrap -- LambdaLift E ├─case: 11 ├─case-alt: 16 ├─error: 2 ├─lambda: 8 ├─let-binding: 10 ├─lit: 12 ├─other: 10 ├─prim: 5 └─var-use: 35 Converting to Grin... Found 0 CAFs to convert to constants, 0 of which are recursive. Recursive

Constant

CAFS

Writing "hs.out_code.c" Running: gcc '-std=gnu99' -D_GNU_SOURCE '-falign-functions=4' -ffast-math -Wshadow -Wextra -Wall -Wno-unused-parameter -o hs.out hs.out_code.c -DNDEBUG -O3 hs.out_code.c: In function ‘fFE_aCCallfibonacci_uhs’: hs.out_code.c:956: error: expected expression before ‘;’ token hs.out_code.c:957: error: expected expression before ‘;’ token user error (C code did not compile.) cc1: warning: unrecognized gcc debugging option: n cc1: warning: unrecognized gcc debugging option: m cc1: warning: unrecognized gcc debugging option: i cc1: warning: unrecognized gcc debugging option: c cc1: warning: unrecognized gcc debugging option: l cc1: warning: unrecognized gcc debugging option: i cc1: warning: unrecognized gcc debugging option: b hs.out_code.c:1: warning: The C parser does not support -dy, option ignored hs.out_code.c: In function ‘fFE_aCCallfibonacci_uhs’: hs.out_code.c:956: error: expected expression before ‘;’ token hs.out_code.c:957: error: expected expression before ‘;’ token mv: cannot stat `libdynhs.so': No such file or directory

mwotton commented 14 years ago

jhc only, closing.