colis-anr / morbig

A static parser for POSIX Shell
Other
190 stars 8 forks source link

C inteface #49

Closed treinen closed 5 years ago

treinen commented 5 years ago
% cd examples/c/
% make
ocamlfind: Package `libmorbig' not found
ocamlfind: Package `libmorbig' not found
cc -o dump -I /usr/lib/ocaml -I  \
        dump.c -lm -ldl /libmorbigc.a
cc: error: /libmorbigc.a: No such file or directory
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

after changing in examples/c/Makefile all libmorbig to morbig:

% make
 cc -o dump -I /usr/lib/ocaml -I /usr/local/lib/ocaml/4.02.3/morbig \
        dump.c -lm -ldl /usr/local/lib/ocaml/4.02.3/morbig/morbigc.a
 cc: error: /usr/local/lib/ocaml/4.02.3/morbig/morbigc.a: No such file or directory
 Makefile:7: recipe for target 'all' failed
Niols commented 5 years ago

Indeed. We left quite a lot of occurrences of "libmorbig" everywhere in the repository. I'll take care of that

Niols commented 5 years ago

Hey @treinen, what about now?

treinen commented 5 years ago

OK, this is fixed now. Thanks!