2003-09-17 14:11:24 +00:00
|
|
|
<html>
|
|
|
|
<title>
|
2003-09-25 19:50:05 +00:00
|
|
|
LLVM: llvm-link tool
|
2003-09-17 14:11:24 +00:00
|
|
|
</title>
|
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
<body bgcolor=white>
|
2003-09-17 14:11:24 +00:00
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
<center><h1>LLVM: <tt>llvm-link</tt> tool</h1></center>
|
2003-09-17 14:11:24 +00:00
|
|
|
<HR>
|
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
<h3>NAME</h3>
|
|
|
|
<tt>llvm-link</tt>
|
2003-09-17 14:11:24 +00:00
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
<h3>SYNOPSIS</h3>
|
|
|
|
<tt>llvm-link [options] <filename> [filename ...]</tt>
|
2003-09-17 14:11:24 +00:00
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
<h3>DESCRIPTION</h3>
|
2003-09-17 14:11:24 +00:00
|
|
|
|
2003-10-07 20:09:21 +00: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.
|
2003-09-26 16:32:00 +00:00
|
|
|
<p>
|
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
The <tt>llvm-link</tt> command attempts to load the input files from the current
|
2003-10-19 18:09:24 +00:00
|
|
|
directory. If that fails, it looks for each file in each of the
|
2003-10-07 20:09:21 +00:00
|
|
|
directories specified by the -L options on the command line. The library search
|
2003-10-19 18:09:24 +00:00
|
|
|
paths are global; each one is searched for every input file if necessary. The
|
2003-10-07 20:09:21 +00:00
|
|
|
directories are searched in the order they were specified on the command line.
|
2003-09-17 14:11:24 +00:00
|
|
|
|
|
|
|
<h3>
|
|
|
|
OPTIONS
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<ul>
|
2003-09-26 16:32:00 +00:00
|
|
|
<li>-L <directory>
|
2003-09-17 14:11:24 +00:00
|
|
|
<br>
|
2003-10-07 16:36:25 +00:00
|
|
|
Add the specified directory to the library search path. When looking
|
2003-10-07 20:09:21 +00: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.
|
2003-09-17 14:11:24 +00:00
|
|
|
<p>
|
|
|
|
|
|
|
|
<li>-f
|
|
|
|
<br>
|
2003-10-07 20:09:21 +00:00
|
|
|
Overwrite output files. By default, <tt>llvm-link</tt> will not
|
|
|
|
overwrite an output file if it alreadys exists.
|
2003-09-17 14:11:24 +00:00
|
|
|
<p>
|
|
|
|
|
|
|
|
<li>-o <filename>
|
|
|
|
<br>
|
2003-10-07 20:09:21 +00:00
|
|
|
Output filename. If filename is -, then <tt>llvm-link</tt> will write
|
|
|
|
its output to standard output.
|
2003-09-17 14:11:24 +00:00
|
|
|
<p>
|
|
|
|
|
2003-09-26 16:32:00 +00:00
|
|
|
<li>-d
|
|
|
|
<br>
|
2003-10-19 18:09:24 +00:00
|
|
|
If specified, <tt>llvm-link</tt> prints a human-readable version of the
|
2003-10-07 20:09:21 +00:00
|
|
|
output bytecode file to standard error.
|
2003-09-26 16:32:00 +00:00
|
|
|
<p>
|
|
|
|
|
|
|
|
<li>-help
|
2003-09-17 14:11:24 +00:00
|
|
|
<br>
|
|
|
|
Print a summary of command line options.
|
|
|
|
<p>
|
|
|
|
|
2003-09-26 16:32:00 +00:00
|
|
|
<li>-v
|
2003-09-17 14:11:24 +00:00
|
|
|
<br>
|
2003-10-07 20:09:21 +00:00
|
|
|
Verbose mode. Print information about what <tt>llvm-link</tt> is doing.
|
2003-10-19 18:09:24 +00:00
|
|
|
This typically includes a message for each bytecode file linked in
|
|
|
|
and for each library found.
|
2003-09-17 14:11:24 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h3>
|
|
|
|
EXIT STATUS
|
|
|
|
</h3>
|
|
|
|
|
2003-10-07 20:09:21 +00: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-09-17 14:11:24 +00:00
|
|
|
|
2003-10-07 20:09:21 +00:00
|
|
|
<h3>SEE ALSO</h3>
|
|
|
|
<a href="gccld.html"><tt>gccld</tt></a>
|
2003-09-17 14:11:24 +00:00
|
|
|
|
|
|
|
<HR>
|
2003-10-07 20:09:21 +00:00
|
|
|
Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.
|
2003-09-17 14:11:24 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|