Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-backports > by-pkgid > 97e550cf5e93b7f399a057af6f6e9b60 > files > 587

llvm-2.7-2mdv2010.1.x86_64.rpm

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>llvmgxx</title>
<link rel="stylesheet" href="manpage.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>


<!-- INDEX BEGIN -->
<div name="index">
<p><a name="__index__"></a></p>
<!--

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#options">OPTIONS</a></li>
	<li><a href="#exit_status">EXIT STATUS</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#authors">AUTHORS</a></li>
</ul>

-->


</div>
<!-- INDEX END -->

<p>
</p>
<hr />
<h1><a name="name">NAME</a></h1>
<p>llvm-g++ - LLVM C++ front-end</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p><strong>llvm-g++</strong> [<em>options</em>] <em>filename</em></p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>The <strong>llvm-g++</strong> command is the LLVM C++ front end.  It is a modified
version of g++ that compiles C++/ObjC++ programs into native code, 
LLVM bitcode or assembly language, depending upon the options.</p>
<p>By default, <strong>llvm-g++</strong> compiles to native objects just like GCC does. If the
<strong>-emit-llvm</strong> option is given then it will generate LLVM bitcode files instead.
If <strong>-S</strong> (assembly) is also given, then it will generate LLVM assembly.</p>
<p>Being derived from the GNU Compiler Collection, <strong>llvm-g++</strong> has many
of g++'s features and accepts most of g++'s options.  It handles a
number of g++'s extensions to the C++ programming language.</p>
<p>
</p>
<hr />
<h1><a name="options">OPTIONS</a></h1>
<dl>
<dt><strong><a name="help" class="item"><strong>--help</strong></a></strong></dt>

<dd>
<p>Print a summary of command line options.</p>
</dd>
<dt><strong><a name="s" class="item"><strong>-S</strong></a></strong></dt>

<dd>
<p>Do not generate an LLVM bitcode file.  Rather, compile the source
file into an LLVM assembly language file.</p>
</dd>
<dt><strong><a name="c" class="item"><strong>-c</strong></a></strong></dt>

<dd>
<p>Do not generate a linked executable.  Rather, compile the source
file into an LLVM bitcode file.  This bitcode file can then be
linked with other bitcode files later on to generate a full LLVM
executable.</p>
</dd>
<dt><strong><a name="o_filename" class="item"><strong>-o</strong> <em>filename</em></a></strong></dt>

<dd>
<p>Specify the output file to be <em>filename</em>.</p>
</dd>
<dt><strong><a name="i_directory" class="item"><strong>-I</strong> <em>directory</em></a></strong></dt>

<dd>
<p>Add a directory to the header file search path.  This option can be
repeated.</p>
</dd>
<dt><strong><a name="l_directory" class="item"><strong>-L</strong> <em>directory</em></a></strong></dt>

<dd>
<p>Add <em>directory</em> to the library search path.  This option can be
repeated.</p>
</dd>
<dt><strong><a name="lname" class="item"><strong>-l</strong><em>name</em></a></strong></dt>

<dd>
<p>Link in the library lib<em>name</em>.[bc | a | so].  This library should
be a bitcode library.</p>
</dd>
<dt><strong><a name="emit_llvm" class="item"><strong>-emit-llvm</strong></a></strong></dt>

<dd>
<p>Make the output be LLVM bitcode (or assembly) instead of native object (or
assembly).</p>
</dd>
</dl>
<p>
</p>
<hr />
<h1><a name="exit_status">EXIT STATUS</a></h1>
<p>If <strong>llvm-g++</strong> succeeds, it will exit with 0.  Otherwise, if an error
occurs, it will exit with a non-zero value.</p>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p><a href="././llvmgcc.html">llvm-gcc</a></p>
<p>
</p>
<hr />
<h1><a name="authors">AUTHORS</a></h1>
<p>Maintained by the LLVM Team (<a href="http://llvm.org">http://llvm.org</a>).</p>

</body>

</html>