---
name: "qd-config"
section: "1"
platform: "linux"
package: "libqd-dev"
version: "2.3.23+dfsg.1-1.1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/qd-config"
---

# qd-config(1)

determine flags for compilation and linking

## NAME

qd-config - determine flags for compilation and linking

## SYNOPSIS

**qd-config** **\[***options***\]**

## DESCRIPTION

To link a Fortran-90 program with the C++ qd library, it is  recommended to link with the C++ compiler used to generate the library.   The Fortran 90 interface (along with a C-style main function calling  *f\_main*) is found in the qdmod library.  The **qd-config** script can be used to determine which flags to pass to compile and link your programs.

## OPTIONS

- **--src**

  Switch between source and system location.

- **--prefix**

  Output configured *prefix* value.

- **--exec-prefix**

  Output configured *exec\_prefix* value.

- **--build-flags**

  Compiler options used during build.

- **--build-libs**

  Linker options used during build.

- **--configure-args**

  Configure arguments used for build.

- **--cxx**

  C++ compiler.

- **--cflags**

  C++ preprocessor and compiler options.

- **--cxxflags**

  C++ compiler options.

- **--libs-la**

  C++ linker options and libtool archive location.

- **--libs**

  C++ linker options.

- **--fc**

  Fortran compiler.

- **--fcflags**

  Fortran compiler options.

- **--fclibs**

  Fortran linker options.

- **--fmainlib**

  C++ linker options for main program written in Fortran.

- **--version**

  Output version.

## AUTHOR

This manual page was written by **Daniel Leidert** \<daniel.leidert@wgdd.de\> for the Debian project (but may be used by others).
