Skip to content

Change the way we call the C compiler #3346

@ghost

Description

Currently, to compile C files we call ocamlc -c file.c. This has a few drawbacks and also adds two intermediate between dune and the C compiler:

  • ocamlc
  • /bin/sh (because the compiler uses Sys.command)

We should call the C compiler directly, just as we do for C++ sources.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions