Skip to content

Find correct include paths for C library parsing #12

@mell-o-tron

Description

@mell-o-tron

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions