diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html index d5d4eac0480..35530a24ebd 100644 --- a/docs/CFEBuildInstrs.html +++ b/docs/CFEBuildInstrs.html @@ -101,37 +101,25 @@ process, and you should only try to do it if:
-Solaris/Sparc: +Solaris/SPARC:
-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. Bug 206).
% 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 -- -
-At this point, libstdc++ may fail to build because of wchar errors (look for -errors that reference vfwscanf or wcstof). If that happens, -edit sparcv9-sun-solaris2.8/libstdc++-v3/config.h and comment out the -line that defines _GLIBCXX_USE_WCHAR_T. -
- --Then, continue as below: -
- -- % gmake all - % gmake install + % gmake all; gmake install
Common Problem: You may get error messages regarding the fact