EnglishFrenchSpanish

OnWorks favicon

pth-config - Online in the Cloud

Run pth-config in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pth-config that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pth-config - Pth library build utility

VERSION


GNU Pth 2.0.7 (08-Jun-2006)

SYNOPSIS


pth-config [--help] [--version] [--all] [--prefix] [--exec-prefix] [--bindir] [--libdir]
[--includedir] [--mandir] [--datadir] [--acdir] [--cflags] [--ldflags] [--libs]

DESCRIPTION


The pth-config program is a little helper utility for easy configuring and building
applications based on the pth(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
pth(3) library.

OPTIONS


pth-config accepts the following options:

--help
Prints the short usage information.

--version
Prints the version number and date of the installed pth(3) library.

--all
Forces the output of all flags, that is, including extra flags which are not Pth
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 pth(3)-based application.
The output is usually added to the "CFLAGS" variable of the applications "Makefile".

--ldflags
Prints the linker flags ("-L") which are needed to link the application with the
pth(3) library. The output is usually added to the "LDFLAGS" variable of the
applications "Makefile".

--libs
Prints the library flags ("-l") which are needed to link the application with the
pth(3) library. The output is usually added to the "LIBS" variable of the applications
"Makefile".

EXAMPLE


CC = cc
CFLAGS = -O `pth-config --cflags`
LDFLAGS = `pth-config --ldflags`
LIBS = -lm `pth-config --libs`

all: foo
foo: foo.o
$(CC) $(LDFLAGS) -o foo foo.o $(LIBS)
foo.o: foo.c
$(CC) $(CFLAGS) -c foo.c

Use pth-config online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad