- Timestamp:
- Nov 12, 2006, 11:32:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/doc/caca-config.1
r208 r1356 8 8 [ --exec-prefix= 9 9 .IR DIR ] 10 [ --version ] [ --libs | --plugin-libs] [ --cflags ]10 [ --version ] [ --libs ] [ --cflags ] 11 11 .SH DESCRIPTION 12 12 .B caca-config … … 14 14 flags that should be used to compile and link progams, libraries, and 15 15 plugins that use libcaca. 16 17 The use of 18 .B caca-config 19 is deprecated. The more generic tool 20 .B pkg-config 21 should be used instead. 16 22 .SH OPTIONS 17 23 .TP … … 24 30 .I DIR 25 31 instead of the installation exec prefix that libcaca was build with when 26 computing the output for the --cflags, --libs, and --plugin-libs options. 27 This option must be specified before any of the --cflags, --libs, and 28 --plugin-libs options. 32 computing the output for the --cflags and --libs options. 33 This option must be specified before any of the --cflags and --libs options. 29 34 .TP 30 35 .B --libs 31 Print the linker flags that are necessary to link a program that uses 32 libcaca. 33 .TP 34 .B --plugin-libs 35 Print the linker flags that are necessary to link a libcaca-using object that 36 is to be accessed via 37 .IR dlopen (3). 38 This may include static objects with PIC symbol information. This option 39 should 40 .B not 41 be used for standalone applications. 36 Print the linker flags that are necessary to link a program or library 37 that uses libcaca. 42 38 .TP 43 39 .BI --prefix= DIR 44 40 If specified, use PREFIX instead of the installation prefix that libcaca 45 was built with when computing the output for the --cflags , --libs,46 and --plugin-libs options. This option is also used for the execprefix47 if --exec-prefix was not specified. This option must be specified before 48 an y of the --cflags, --libs, and --plugin-libs options.41 was built with when computing the output for the --cflags and --libs 42 options. This option is also used for the exec prefix if --exec-prefix 43 was not specified. This option must be specified before any of the --cflags 44 and --libs options. 49 45 .TP 50 46 .B --version … … 61 57 .B caca-config 62 58 to link compiled objects into an executable program. 63 .TP 64 gcc -o libcaca_plugin.so $(caca-config --plugin-libs) caca_plugin.o stubs.o 65 is how you might use 66 .B caca-config 67 to link compiled objects into a plugin for use by another program. 59 .SH SEE ALSO 60 pkg-config(1) 68 61 .SH AUTHOR 69 62 The libcaca library was written by Sam Hocevar <sam@zoy.org>.
Note: See TracChangeset
for help on using the changeset viewer.