Query: ligcc
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LIGCC(1) Listaller Project LIGCC(1)NAMEligcc - Wrapper around gcc to create more portable appsSYNOPSISligcc [OPTION ...]DESCRIPTIONThis 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: o 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. o Allows you to easily statically link to any other library. o Automatically removes bogus dependancies. 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 dependancy on libpng! LiGCC automatically removes the -lpng for you if your app doesn't use libpng directly. o 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.OPTIONSSee 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.SEE ALSOlig++ (1), gcc(1). Additional documentation can be found on http://listaller.tenstral.net.AUTHORThis manual page was written by Matthias Klumpp matthias@tenstral.net.COPYRIGHTCopyright (C) 2009-2012 Matthias Klumpp Listaller Project 20 April,2012 LIGCC(1)
Related Man Pages |
---|
dh_shlibdeps(1) - linux |
caca-config(1) - debian |
ligcc(1) - debian |
mklibs(1) - debian |
dh_shlibdeps(1) - netbsd |
Similar Topics in the Unix Linux Community |
---|
man gcc |
How to compile using gcc... |
Create a lib from a c program |
A question regarding the gcc compiler ... |
AIX 7.1 gcc 4.8.5 issue |