diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-01-28 20:54:41 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-01-28 20:54:41 +0000 |
commit | 7e9bd8019366624ba6421147f21674063030b4f0 (patch) | |
tree | fd2366144a9d1a01bccec9393401ef62ce523162 /docs/CFEBuildInstrs.html | |
parent | 7c791ed0a4703ad476c9226d756fdb4032431f86 (diff) | |
download | llvm-7e9bd8019366624ba6421147f21674063030b4f0.tar.gz llvm-7e9bd8019366624ba6421147f21674063030b4f0.tar.bz2 llvm-7e9bd8019366624ba6421147f21674063030b4f0.tar.xz |
I think this is a more robust fix for the Solaris wchar problems (PR206).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CFEBuildInstrs.html')
-rw-r--r-- | docs/CFEBuildInstrs.html | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html index d5d4eac048..35530a24eb 100644 --- a/docs/CFEBuildInstrs.html +++ b/docs/CFEBuildInstrs.html @@ -101,37 +101,25 @@ process, and you should <b>only</b> try to do it if:</p> </pre> <p> -<b>Solaris/Sparc:</b> +<b>Solaris/SPARC:</b> </p> <p> -For Solaris/Sparc, LLVM only supports SparcV9. Therefore, the configure -command line should like something like this: +For Solaris/SPARC, LLVM only supports the SPARC V9. Therefore, the +configure command line should specify sparcv9, as shown below. Also, +note that Solaris has trouble with various wide (multibyte) character +functions from C as referenced from C++, so we typically configure with +--disable-c-mbchar (cf. <a href="http://llvm.cs.uiuc.edu/PR206">Bug 206</a>). </p> <pre> % cd build - % ../src/configure --prefix=$CFEINSTALL --disable-threads --disable-nls --disable-shared \ - --enable-languages=c,c++ --host=sparcv9-sun-solaris2.8 + % ../src/configure --prefix=$CFEINSTALL --disable-threads --disable-nls \ + --disable-shared --enable-languages=c,c++ --host=sparcv9-sun-solaris2.8 \ + --disable-c-mbchar % gmake all-gcc % setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc - % gmake all -</pre> - -<p> -At this point, libstdc++ may fail to build because of wchar errors (look for -errors that reference <tt>vfwscanf</tt> or <tt>wcstof</tt>). If that happens, -edit <tt>sparcv9-sun-solaris2.8/libstdc++-v3/config.h</tt> and comment out the -line that defines <tt>_GLIBCXX_USE_WCHAR_T</tt>. -</p> - -<p> -Then, continue as below: -</p> - -<pre> - % gmake all - % gmake install + % gmake all; gmake install </pre> <p><b>Common Problem:</b> You may get error messages regarding the fact |