Currently, function get_lib_path in file lib/typecheck.ml uses "/usr/include/..." as the fixed path to include libraries.
Fix this, figuring out what the include paths are.
- Maybe use something like
echo | gcc -E -x c - -v to figure out where gcc gets the includes
- Maybe add a way to manually specify where to find a library
If both are implemented, give priority to manually specified paths.
Currently, function
get_lib_pathin filelib/typecheck.mluses "/usr/include/..." as the fixed path to include libraries.Fix this, figuring out what the include paths are.
echo | gcc -E -x c - -vto figure out where gcc gets the includesIf both are implemented, give priority to manually specified paths.