man openal-config (Commandes) - script to get information about the installed version of OpenAL

NAME

openal-config - script to get information about the installed version of OpenAL

SYNOPSIS

openal-config [ --prefix=DIR ] [ --exec-prefix=DIR ] [ --version ] [ --cflags ] [ --libs ]

DESCRIPTION

openal-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link programs and libraries that use OpenAL.

OPTIONS

--cflags
Print the compiler flags that are necessary to compile a program or library that uses OpenAL.
--exec-prefix=DIR
If specified, use DIR instead of the installation exec prefix that OpenAL was built with when computing the output for the --cflags and --libs options. This option must be specified before any of the --cflags and --libs options.
--libs
Print the linker flags that are necessary to link a program or library that uses OpenAL.
--prefix=DIR
If specified, use DIR instead of the installation prefix that OpenAL was built with when computing the output for the --cflags and --libs options. If --exec-prefix was not specified, DIR is also used as exec prefix. This option must be specified before any of the --cflags and --libs options.
--version
Prints the currently installed version of OpenAL on standard output.

EXAMPLES

To compile a C source file for use in an executable program that uses OpenAL, type a command like this:

gcc $(sdl-config --cflags) -c main.c -o main.o

To link the resulting object file into an executable program, use a command like the following:

gcc -o my_app main.o util.o $(sdl-config --libs)

AUTHOR

OpenAL was written by Juan Carlos Arevalo Baeza, Jonathan Blow, Keith Charley, Scott Draeker, John Grantham, Jacob Hawley, Garin Hiebert, Carlos Hasan, Nathan Hill, Bill Huey, Mike Jarosch, Jean-Marc Jot, Maxim Kizub, John Kraft, Bernd Kreimeier, Ian Ollmann, Rick Overman, Sean L. Palmer, Sven Panne, Pierre Phaneuf, Terry Sikes, Joseph Valenzuela, Michael Vance, and Carlo Vogelsang.

This manual page was written by Thierry Reding for the Debian Project (but may be used by others).