mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
* Wrap command line flag in <tt>
* Wrapped long lines in code section git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87f333641a
commit
b0fa430e1f
@ -191,11 +191,13 @@ cd llvm-gcc-4.2-objects
|
||||
<li><p>Configure llvm-gcc (here it is configured to install into <tt>/usr/local</tt>).
|
||||
The <tt>--enable-checking</tt> flag turns on sanity checks inside the compiler.
|
||||
If you omit it then LLVM should be built with <tt>make ENABLE_OPTIMIZED=1</tt>.
|
||||
Additional languages can be appended to the --enable-languages switch,
|
||||
Additional languages can be appended to the <tt>--enable-languages</tt> switch,
|
||||
for example <tt>--enable-languages=ada,c,c++</tt>.</p>
|
||||
|
||||
<pre class="doc_code">
|
||||
../llvm-gcc-4.2/configure --prefix=<b>/usr/local</b> --enable-languages=ada,c --enable-checking --enable-llvm=$PWD/../llvm-objects --disable-bootstrap --disable-multilib
|
||||
../llvm-gcc-4.2/configure --prefix=<b>/usr/local</b> --enable-languages=ada,c \
|
||||
--enable-checking --enable-llvm=$PWD/../llvm-objects \
|
||||
--disable-bootstrap --disable-multilib
|
||||
</pre>
|
||||
|
||||
<p>If you have a multi-compiler setup, then you can configure like this:</p>
|
||||
@ -203,7 +205,9 @@ cd llvm-gcc-4.2-objects
|
||||
<pre class="doc_code">
|
||||
export CC=<b>PATH_TO_C_AND_ADA_COMPILER</b>
|
||||
export CXX=<b>PATH_TO_C++_COMPILER</b>
|
||||
../llvm-gcc-4.2/configure --prefix=<b>/usr/local</b> --enable-languages=ada,c --enable-checking --enable-llvm=$PWD/../llvm-objects --disable-bootstrap --disable-multilib
|
||||
../llvm-gcc-4.2/configure --prefix=<b>/usr/local</b> --enable-languages=ada,c \
|
||||
--enable-checking --enable-llvm=$PWD/../llvm-objects \
|
||||
--disable-bootstrap --disable-multilib
|
||||
</pre>
|
||||
</li>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user