mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Updated build instructions for Sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea0ac1fbb3
commit
5507284880
@ -85,6 +85,11 @@ process, and you should <b>only</b> try to do it if:</p>
|
||||
</pre></li>
|
||||
|
||||
<li><p>Configure, build and install the C front-end:</p>
|
||||
|
||||
<p>
|
||||
<b>Linux/x86:</b>
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
% cd build
|
||||
% ../src/configure --prefix=$CFEINSTALL --disable-nls --disable-shared \
|
||||
@ -94,6 +99,24 @@ process, and you should <b>only</b> try to do it if:</p>
|
||||
% gmake all; gmake install
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
<b>Solaris/Sparc:</b>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For Solaris/Sparc, LLVM only supports SparcV9. Therefore, the configure
|
||||
command line should like something like this:
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
% cd build
|
||||
% ../src/configure --prefix=$CFEINSTALL --disable-nls --disable-shared \
|
||||
--enable-languages=c,c++ sparcv9-sun-solaris2.8
|
||||
% gmake all-gcc
|
||||
% setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc
|
||||
% gmake all; gmake install
|
||||
</pre>
|
||||
|
||||
<p><b>Common Problem:</b> You may get error messages regarding the fact
|
||||
that LLVM does not support inline assembly. Here are two common
|
||||
fixes:</p>
|
||||
|
Loading…
Reference in New Issue
Block a user