File: re20.html

package info (click to toggle)
listaller 0.5.9-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,096 kB
  • ctags: 1,611
  • sloc: xml: 11,195; ansic: 2,298; sh: 1,648; perl: 1,452; cpp: 1,289; java: 157; makefile: 134; cs: 48; python: 24
file content (97 lines) | stat: -rw-r--r-- 4,411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Listaller Reference Manual: ligcc</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Listaller Reference Manual">
<link rel="up" href="manpages.html" title="Listaller Tools Manual Pages">
<link rel="prev" href="re19.html" title="lig++">
<link rel="next" href="re21.html" title="likey">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="manpages.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="re19.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="re21.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="id-1.4.5"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">ligcc</span></h2>
<p>ligcc — Wrapper around gcc to create more portable apps</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">ligcc</code>  [<code class="option">OPTION ...</code>]</p></div>
</div>
<div class="refsect1">
<a name="id-1.4.5.5"></a><h2>Description</h2>
<p>
			This manual page documents briefly the <span class="command"><strong>ligcc</strong></span> command.
		</p>
<p>
			<span class="command"><strong>ligcc</strong></span> is a wrapper around gcc.
			It allows you to create more portable executables by doing three things:
			</p>
<div class="itemizedlist">
<p class="title"><b></b></p>
<ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
					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.
				</p></li>
<li class="listitem"><p>Allows you to easily statically link to any other library.</p></li>
<li class="listitem"><p>
					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.
				</p></li>
<li class="listitem"><p>
					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.
				</p></li>
</ul>
</div>
<p>

		</p>
</div>
<div class="refsect1">
<a name="id-1.4.5.6"></a><h2>Options</h2>
<p>See the manpage of gcc(1) for more information about possible options.</p>
<p>
		       There are also several environment variables available to modify ligcc's behavior check the documentation for
		       more information.
		</p>
</div>
<div class="refsect1">
<a name="id-1.4.5.7"></a><h2>See Also</h2>
<p>lig++ (1), gcc(1).</p>
<p>
			Additional documentation can be found on http://listaller.tenstral.net.
		</p>
</div>
<div class="refsect1">
<a name="id-1.4.5.8"></a><h2>AUTHOR</h2>
<p>This manual page was written by Matthias Klumpp <code class="email">&lt;<a class="email" href="mailto:matthias@tenstral.net">matthias@tenstral.net</a>&gt;</code>.
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.20</div>
</body>
</html>