This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problem in installing gcc
- From: Jonathan Wakely <cow at compsoc dot man dot ac dot uk>
- To: Carmen Wai <carmen_wai at yahoo dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 29 Jan 2003 16:21:20 +0000
- Subject: Re: Problem in installing gcc
- References: <20030129152233.56999.qmail@web13401.mail.yahoo.com>
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