From 550728488020a2aa8a601c55d3ada69df069ab13 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Mon, 8 Dec 2003 19:59:14 +0000 Subject: [PATCH] Updated build instructions for Sparc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10323 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CFEBuildInstrs.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html index 000d0507da8..1a28eee5968 100644 --- a/docs/CFEBuildInstrs.html +++ b/docs/CFEBuildInstrs.html @@ -85,6 +85,11 @@ process, and you should only try to do it if:

  • Configure, build and install the C front-end:

    + +

    +Linux/x86: +

    +
      % cd build
      % ../src/configure --prefix=$CFEINSTALL --disable-nls --disable-shared \
    @@ -94,6 +99,24 @@ process, and you should only try to do it if:

    % gmake all; gmake install
    +

    +Solaris/Sparc: +

    + +

    +For Solaris/Sparc, LLVM only supports SparcV9. Therefore, the configure +command line should like something like this: +

    + +
    + % 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
    +
    +

    Common Problem: You may get error messages regarding the fact that LLVM does not support inline assembly. Here are two common fixes: