1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/docs/CommandGuide/llvm-link.html

89 lines
2.2 KiB
HTML
Raw Normal View History

<html>
<title>
LLVM: llvm-link tool
</title>
2003-10-07 22:09:21 +02:00
<body bgcolor=white>
2003-10-07 22:09:21 +02:00
<center><h1>LLVM: <tt>llvm-link</tt> tool</h1></center>
<HR>
2003-10-07 22:09:21 +02:00
<h3>NAME</h3>
<tt>llvm-link</tt>
2003-10-07 22:09:21 +02:00
<h3>SYNOPSIS</h3>
<tt>llvm-link [options] &lt;filename&gt; [filename ...]</tt>
2003-10-07 22:09:21 +02:00
<h3>DESCRIPTION</h3>
2003-10-07 22:09:21 +02:00
The <tt>llvm-link</tt> command takes several LLVM bytecode files and links them
together into a single LLVM bytecode file. It writes the output file to
standard output, unless the -o option is used to specify a filename.
<p>
2003-10-07 22:09:21 +02:00
The <tt>llvm-link</tt> command attempts to load the input files from the current
directory. If that fails, it looks for each file in each of the
2003-10-07 22:09:21 +02:00
directories specified by the -L options on the command line. The library search
paths are global; each one is searched for every input file if necessary. The
2003-10-07 22:09:21 +02:00
directories are searched in the order they were specified on the command line.
<h3>
OPTIONS
</h3>
<ul>
<li>-L &lt;directory&gt;
<br>
Add the specified directory to the library search path. When looking
2003-10-07 22:09:21 +02:00
for libraries, <tt>llvm-link</tt> will look in pathname for libraries.
This option can be specified multiple times; <tt>llvm-link</tt> will
search inside these directories in the order in which they were
specified on the command line.
<p>
<li>-f
<br>
2003-10-07 22:09:21 +02:00
Overwrite output files. By default, <tt>llvm-link</tt> will not
overwrite an output file if it alreadys exists.
<p>
<li>-o &lt;filename&gt;
<br>
2003-10-07 22:09:21 +02:00
Output filename. If filename is -, then <tt>llvm-link</tt> will write
its output to standard output.
<p>
<li>-d
<br>
If specified, <tt>llvm-link</tt> prints a human-readable version of the
2003-10-07 22:09:21 +02:00
output bytecode file to standard error.
<p>
<li>-help
<br>
Print a summary of command line options.
<p>
<li>-v
<br>
2003-10-07 22:09:21 +02:00
Verbose mode. Print information about what <tt>llvm-link</tt> is doing.
This typically includes a message for each bytecode file linked in
and for each library found.
</ul>
<h3>
EXIT STATUS
</h3>
2003-10-07 22:09:21 +02:00
If <tt>llvm-link</tt> succeeds, it will exit with 0. Otherwise, if an error
occurs, it will exit with a non-zero value.
2003-10-07 22:09:21 +02:00
<h3>SEE ALSO</h3>
<a href="gccld.html"><tt>gccld</tt></a>
<HR>
2003-10-07 22:09:21 +02:00
Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.
</body>
</html>