EnglishFrenchSpanish

OnWorks favicon

python3m-config - Online in the Cloud

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

This is the command python3m-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


python-config - output build options for python C/C++ extensions or embedding

SYNOPSIS


python-config [ --prefix ] [ --exec-prefix ] [ --includes ] [ --libs ] [ --cflags ] [
--ldflags ] [ --extension-suffix ] [ --abiflags ] [ --help ]

DESCRIPTION


python-config helps compiling and linking programs, which embed the Python interpreter, or
extension modules that can be loaded dynamically (at run time) into the interpreter.

OPTIONS


--abiflags
print the the ABI flags as specified by PEP 3149.

--cflags
print the C compiler flags.

--ldflags
print the flags that should be passed to the linker.

--includes
similar to --cflags but only with -I options (path to python header files).

--libs similar to --ldflags but only with -l options (used libraries).

--prefix
prints the prefix (base directory) under which python can be found.

--exec-prefix
print the prefix used for executable program directories (such as bin, sbin, etc).

--extension-suffix
print the extension suffix used for binary extensions.

--help print the usage message.

EXAMPLES


To build the singe-file c program prog against the python library, use

gcc $(python-config --cflags --ldflags) progr.cpp -o progr.cpp

The same in a makefile:

CFLAGS+=$(shell python-config --cflags)
LDFLAGS+=$(shell python-config --ldflags)
all: progr

To build a dynamically loadable python module, use

gcc $(python-config --cflags --ldflags) -shared -fPIC progr.cpp -o progr.so

Use python3m-config online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    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
  • 6
    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
  • More »

Linux commands

Ad