EnglishFrenchSpanish

Ad


OnWorks favicon

ligcc - Online in the Cloud

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

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


ligcc - Wrapper around gcc to create more portable apps

SYNOPSIS


ligcc [OPTION ...]

DESCRIPTION


This manual page documents briefly the ligcc command.

ligcc is a wrapper around gcc. It allows you to create more portable executables by doing
three things:

· Forces the linker to link against older glibc symbols. Users who are using an older
version of glibc will no longer get "undefined symbol GLIBC_2.4 in /lib/libc.so"-style
error messages.

· Allows you to easily statically link to any other library.

· Automatically removes bogus dependencies. For example, your program uses libfoo.
libfoo uses libpng internally, but your app does not. Yet the pkg-config file for
libfoo specifies "-lfoo -lpng" is linker parameters. And tadaa - you now have a bogus
dependency on libpng! LiGCC automatically removes the -lpng for you if your app
doesn't use libpng directly.

· Add $ORIGIN/../lib to the binary's library search path. $ORIGIN is the directory in
which the binary exists. This ensures that your binary can find library dependencies
which are placed in the 'lib' folder under the same prefix. You might want to install
custom libraries into /lib. If you set $APBUILD_PROJECTNAME, ligcc will also add
$ORIGIN/../lib/$APBUILD_PROJECTNAME to the library search path.

OPTIONS


See the manpage of gcc(1) for more information about possible options.

There are also several environment variables available to modify ligcc's behavior check
the documentation for more information.

Use ligcc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    s3cmd
    s3cmd
    Open-source tool to access Amazon S3
    file storage. S3cmd is a free command
    line tool and client for uploading,
    retrieving and managing data in Amazon
    S3 and ot...
    Download s3cmd
  • 2
    XyZerKunG ServerTool
    XyZerKunG ServerTool
    XyZerKunG ServerTool helps you to make
    your own Minecraft server and play with
    your friend for a few minutes.
    Features:Automatically create a
    Minecraft serverU...
    Download XyZerKunG ServerTool
  • 3
    CalcTools
    CalcTools
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 4
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Windows...
    Download Rocket.Chat Desktop Client
  • 5
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 6
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 7
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • More »

Linux commands

Ad