EnglishFrenchSpanish

OnWorks favicon

relaytool - Online in the Cloud

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

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


relaytool - Generate a file that can be used instead of linking directly against a library

SYNOPSIS


relaytool [OPTION ...] [LINKER COMMAND ...]

DESCRIPTION


This manual page documents briefly the relaytool command.

relaytool is a program to provide a more convenient interface to dlopen/dlsym. It lets you
write the same style of code you would when using a normal hard link (-lwhatever), but the
symbols are actually lazy-linked at runtime. You can use the symbols
libwhatever_is_present and libwhatever_symbol_is_present() to find out what APIs are
actually available at runtime.

In other words, the need to use function pointers and lots of manual calls to dlsym() is
eliminated, and it becomes much simpler to soft link to things as a result. If a symbol is
missing at runtime and you call it anyway, your application will abort and an error
message is printed that states which function was called. If a variable is missing at
runtime, the value is always -1.

OPTIONS


--relay LIB
If a matching -lLIB is found, generate a file that can be used instead of linking
directly to LIB. The name of the file is echoed on stdout. Multiple --relay can be
used together, a file will be generated for each matching ones.

--replace-all-libs
Generate a file for every -lLIB parameter.

--minimal-list OBJ_LIST
Will look in OBJ_LIST for undefined symbols, and generate a file creating only the
needed symbols for each LIB.

--partial-map MAP_FILE
Generate a file creating only the symbols contained in MAP_FILE. Will apply to all
further -lLIB parameters, so in general is not suitable to multiple libs in the same
invocation of relaytool.

--no-replace
Echo -lLIB on stdout even if a --relay LIB is found, so it'll be linked in normally.

--multilink [SONAMES...]
If a library has different SONAMES on different Linux distributions you can specify
the various SONAMES that it's known by here. Relaytool will attempt to load them (in
the order provided) until one if found. This cannot be used with multiple --relay
options. The first SONAME in the list will be used as the name in the _is_present
variable and _symbol_is_present function.

--out-dir DIRECTORY
Write stub file to DIRECTORY instead of CWD.

LINKER COMMANDS


-LPATH
Add PATH to the list of paths to search for LIBs.

-lLIB
If a matching --relay LIB is found (or if --replace-all-libs is specified), generate a
file that can be used instead of linking directly to LIB. If there's no --relay LIB,
echo -lLIB to stdout.

All other linker commands are passed as is to stdout.

OTHER COMMANDS


-h, --help
Show some help.

--version
Display version information of relaytool

Use relaytool online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 2
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 3
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 4
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 5
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 6
    SMPlayer
    SMPlayer
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    SMPlayer:...
    Download SMPlayer
  • More »

Linux commands

Ad