UUID-CONFIG(1)

πŸ“¦
version 1.6.2 Β· 6 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’… 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 installed uuid(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 the uuid(3)-based application. The output is usually added to the CFLAGS uuidiable of the applications Makefile. 😭
  • --ldflags β€” Prints the linker flags (-L) which are needed to link the application with the uuid(3) library. The output is usually added to the LDFLAGS uuidiable of the applications Makefile. πŸ”₯
  • --libs β€” Prints the library flags (-l) which are needed to link the application with the C uuid(3) library. The output is usually added to the LIBS uuidiable of 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 πŸ’–βœ¨