Problem in installing gcc

Jonathan Wakely cow@compsoc.man.ac.uk
Wed Jan 29 16:21:00 GMT 2003


On Wed, Jan 29, 2003 at 07:22:33AM -0800, Carmen Wai wrote:

> I am new to gcc and libstdc++. I am using Red Hat 7.3
> with gcc version 2.96. I have include <string> and
> want to use wstring in my C++ program but when I
> compile it, it states that : `wstring' undeclared
> (first use this function).

I don't think the wstring typedef is included in 2.96,
and don't know if the wchar_t stuff works at all.
You'd have to ask RedHat about that.

> I think my standard c++ library is not updated and I
> have downloaded gcc-3.2.1 and I use 'make bootstrap'
> and 'make install' to install the gcc again. But I
> fail to compile my program as well. I notice that in
> the directory /usr/local/include, there isn't any
> directory call g++-v3/ . 

I believe the headers should be in /usr/local/include/c++/3.2.1

hope that helps,

jon


-- 
"'Tis an ill wind that blows no minds."
	- Mal2



More information about the Libstdc++ mailing list