---
name: "camlidl"
section: "1"
platform: "linux"
package: "camlidl"
version: "1.05-15.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/camlidl"
---

# camlidl(1)

A stub code generator for OCaml

## NAME

camlidl - A stub code generator for OCaml

## SYNOPSIS

**camlidl** \[-I *dir*\] \[-D *symbol*\] \[-cpp\] \[-nocpp\] \[-prepro *cmd*\] \[-header\] \[-no-include\] \[-prefix-all-labels\] \[-keep-labels\] \[-help\] \[\[-v\] \| \[--version\]\] \[*file.idl*...\]

## DESCRIPTION

This manual page documents briefly the **camlidl** command.

This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

**camlidl** is a program that generates stub code for interfacing Caml with C from an IDL description of the C functions.

## OPTIONS

A summary of options is included below.

Options for **camlidl**

- **-I** *dir*

  Add directory to search path.

- **-D** *symbol*

  Pass **-D***symbol* to the C preprocessor.

- **-cpp**

  Pass the .idl files through the C preprocessor. This is the default behavior.

- **-nocpp**

  Do not pass the .idl files through the C preprocessor.

- **-prepro** *cmd*

  Use **cmd** as the preprocessor instead of the C preprocessor.

- **-header**

  Generate a .h file containing all type definitions.

- **-no-include**

  Do not #include the .h file in the generated .c file.

- **-prefix-all-labels**

  Prefix all ML name of record labels with name of enclosing struct.

- **-keep-labels**

  Do not prefix ML names of record labels, even if ambiguous.

- **-help**

  Show summary of options.

- **-v**, **--version**

  Show version of program.

file.idl

Files to process.

## LICENSE

This manual page was written by Sylvain Le Gall \<gildor@debian.org\>, using the work of Georges Mariano \<georges.mariano@inrets.fr\> for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1 or any later version published by the Free Software Foundation; considering as source code all the file that enable the production of this manpage.

## AUTHORS

**Sylvain Le Gall** \<gildor@debian.org\>

Author.

**Georges Mariano** \<georges.mariano@inrets.fr\>

Author.

## COPYRIGHT

Copyright © 2006 Sylvain Le Gall\
 Copyright © 2001, 2002, 2003, 2004, 2005, 2006 Georges Mariano\
