UUID-CONFIG(1)
π UUID-CONFIG(1) β from the Universally Unique Identifier manual π
okay so welcome to the uuid-config(1) page, bestie β manual name folded in right at the top like a little name tag π«Ά. This is the manual for uuid-config, the OSSP uuid API build utility.
β¨ NAME β¨
uuid-config β OSSP uuid API build utility. Thatβs the whole name, and yes itβs doing main character energy.
π VERSION π
OSSP uuid 1.6.2 (04-Jul-2008) β iconic, dated, and staying exactly like that π.
π¦ SYNOPSIS π¦
uuid-config [--help] [--version] [--all] [--prefix] [--exec-prefix]
[--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]
[--cflags] [--ldflags] [--libs]
πΈ DESCRIPTION πΈ
Okay so uuid-config is this little helper utility for easy configuring and building applications based on the uuid(3) library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the uuid(3) library. Basically itβs the friend who tells your build system what to wear π
.
π OPTIONS π
uuid-config accepts the following options:
--helpβ Prints the short usage information. π«Ά--versionβ Prints the version number and date of the installeduuid(3)library. π--allβ Forces the output of all flags, that is, including extra flags which are not OSSP uuid specific. π₯--prefixβ Prints the installation prefix of architecture independent files πΈ--exec-prefixβ Prints the installation prefix of architecture dependent files. π¦--bindirβ Prints the installation directory of binaries. π--libdirβ Prints the installation directory of libraries. π--includedirβ Prints the installation directory of include headers. π§--mandirβ Prints the installation directory of manual pages. π--datadirβ Prints the installation directory of shared data. π--acdirβ Prints the installation directory of autoconf data. β--cflagsβ Prints the C compiler flags which are needed to compile theuuid(3)-based application. The output is usually added to theCFLAGS uuidiableof the applications Makefile. π--ldflagsβ Prints the linker flags (-L) which are needed to link the application with theuuid(3)library. The output is usually added to theLDFLAGS uuidiableof the applications Makefile. π₯--libsβ Prints the library flags (-l) which are needed to link the application with the Cuuid(3)library. The output is usually added to theLIBS uuidiableof the applications Makefile. π
π EXAMPLE π
Hereβs the example, and itβs giving βdrop this in your Makefile and slayβ β¨:
CC = cc
CFLAGS = -O `uuid-config --cflags`
LDFLAGS = `uuid-config --ldflags`
LIBS = -lm `uuid-config --libs`
all: foo
foo: foo.o
$(CC) $(LDFLAGS) -o foo foo.o $(LIBS)
foo.o: foo.c
$(CC) $(CFLAGS) -c foo.c
β SEE ALSO β
uuid(3), uuid(1), OSSP::uuid(3). Go read those too, bestie β itβs called β¨researchβ¨.
Sign-off time: this page is from the OSSP uuid 1.6.2 manual, dated 04-Jul-2008 β xoxo, your local Unix bestie πβ¨
π¦ where this page comes from
- centos-stream 10: uuid-devel 1.6.2-65.el10 Β· MIT
- centos-stream 9: uuid-devel 1.6.2-55.el9 Β· MIT
- centos-stream 9: uuid-devel 1.6.2-55.el9 Β· MIT
- fedora 43: uuid-devel 1.6.2-67.fc43 Β· MIT
- fedora 43: uuid-devel 1.6.2-67.fc43 Β· MIT
- fedora 44: uuid-devel 1.6.2-68.fc44 Β· MIT
- fedora 44: uuid-devel 1.6.2-68.fc44 Β· MIT
- nixos 26.05: libossp-uuid 1.6.2
- nixpkgs unstable: libossp-uuid 1.6.2
- opensuse-leap 16.0: uuid-devel 1.6.2-bp160.1.14 Β· MIT
- opensuse-leap 16.0: uuid-devel 1.6.2-bp160.1.14 Β· MIT
- opensuse-leap 16.0: uuid-devel 1.6.2-bp160.1.14 Β· MIT
- opensuse-leap 16.0: uuid-devel 1.6.2-bp160.1.14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms