pure-c / purec

C backend for PureScript
232 stars 8 forks source link

Fix compile errors for examples on macOS #22

Closed FranklinChen closed 5 years ago

FranklinChen commented 5 years ago

On macOS High Sierra,

$ make examples
[...]
usage:  ar -d [-TLsv] archive file ...
    ar -m [-TLsv] archive file ...
    ar -m [-abiTLsv] position archive file ...
    ar -p [-TLsv] archive [file ...]
    ar -q [-cTLsv] archive file ...
    ar -r [-cuTLsv] archive file ...
    ar -r [-abciuTLsv] position archive file ...
    ar -t [-TLsv] archive [file ...]
    ar -x [-ouTLsv] archive [file ...]
make[3]: *** [libpurec.a] Error 1
make[2]: *** [../../libpurec.a] Error 2
make[1]: *** [main] Error 2
make: *** [examples] Error 2
felixSchl commented 5 years ago

Ah, that's merging of the archives using the MIR script. I need to get myself access to a system to try this on and set up CI for macOS

felixSchl commented 5 years ago

I am closing in getting OSX going, but w/o access to a system it's slow going. I am trying to figure out what's going on with this:

https://travis-ci.org/pure-c/pure-c/jobs/432695449

felixSchl commented 5 years ago

Fixed