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
    Brackets
    Brackets
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    prepr...
    Download Brackets
  • 2
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 3
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 4
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 5
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 6
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • More »

Linux commands

Ad