---
name: "libocc-config"
section: "1"
platform: "linux"
package: "openc++"
version: "2.8-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/libocc-config"
---

# libocc-config(1)

OpenC++ libraries and headers retrieval.

## NAME

libocc-config - OpenC++ libraries and headers retrieval.

## SYNOPSIS

**libocc-config** \[*OPTION*\]...

## DESCRIPTION

- **--help**

  print this message

- **--version**

  print the version of OpenC++ library

- **--libs**

  print the linker flags that are necessary to link with libocc.a

- **--cflags**

  print C flags that are necessary when including OpenC++ headers

- **--prefix**=*PREFIX*

  use PREFIX instead of the installation prefix when computing the output for **--libs**

- **--exec-prefix**=*EPREFIX*

  use EPREFIX instead of the installation exec-prefix when computing the output for **--libs**

- **--libdir**=*DIR*

  use DIR instead of the installation libdir of OpenC++ build when computing the output for **--libs**

Instead of using \`libocc-config' you may want to use GNU Libtool to link with OpenC++ library. Libtool abstracts away from the details of linker switches, it also takes care of library dependencies and building shared libraries on many architectures.

## AUTHOR

This manpage was generated by help2man from the output of libocc-config 2.6, and then slightly edited by Yann Dirson \<dirson@debian.org\>
