Skip to content

Commit 84da4a6

Browse files
author
John Criswell
committed
Added information on fixing libstdc++ on Solaris 8.
llvm-svn: 10451
1 parent 5da0c61 commit 84da4a6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

llvm/docs/CFEBuildInstrs.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,23 @@
114114
--enable-languages=c,c++ --host=sparcv9-sun-solaris2.8
115115
% gmake all-gcc
116116
% setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc
117-
% gmake all; gmake install
117+
% gmake all
118+
</pre>
119+
120+
<p>
121+
At this point, libstdc++ may fail to build because of wchar errors (look for
122+
errors that reference <tt>vfwscanf</tt> or <tt>wcstof</tt>). If that happens,
123+
edit <tt>sparcv9-sun-solaris2.8/libstdc++-v3/config.h</tt> and comment out the
124+
line that defines <tt>_GLIBCXX_USE_WCHAR_T</tt>.
125+
</p>
126+
127+
<p>
128+
Then, continue as below:
129+
</p>
130+
131+
<pre>
132+
% gmake all
133+
% gmake install
118134
</pre>
119135

120136
<p><b>Common Problem:</b> You may get error messages regarding the fact

0 commit comments

Comments
 (0)