pure-c/purec

Fix compile errors for examples on macOS

FranklinChen opened this issue · 3 comments

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

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

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

Fixed