---
name: "Ccomp"
section: "3o"
platform: "linux"
package: "ocaml"
version: "5.5.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Ccomp"
---

# Ccomp(3o)

Compiling C files and building C libraries

## NAME

Ccomp - Compiling C files and building C libraries

## Module

Module   Ccomp

## Documentation

Module **Ccomp**\
  :  **sig end**

Compiling C files and building C libraries

Warning: this module is unstable and part of **Compiler\_libs** .

*val command* :  **string -\> int**

*val run\_command* :  **string -\> unit**

*val compile\_file* :  **?output:string -\> ?opt:string -\> ?stable\_name:string -\> string -\> int**

*val create\_archive* :  **string -\> string list -\> int**

*val quote\_files* :  **response\_files:bool -\> string list -\> string**

*val quote\_optfile* :  **string option -\> string**

*type link\_mode* =\
  \| Exe\
  \| Dll\
  \| MainDll\
  \| Partial

*val call\_linker* :  **link\_mode -\> string -\> string list -\> string -\> int**
