This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: "Anthony Feick" <afeick at hotmail dot com>
- Cc: rup at kanat dot pair dot com, rschiele at uni-mannheim dot de, gcc at gcc dot gnu dot org, jakub at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 01:51:35 +0200 (MEST)
- Subject: Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
- References: <F251TKf4BDibt9d4TRO0001f55a@hotmail.com>
Anthony Feick writes:
> I tried the Sun linker and assembler in "/usr/ccs/bin". With them I can at
> least run a simple program, but now there are problems linking source files
> that use "std::basic_string<wchar_t>".
Do you have a simple testcase that fails for you? Then please file a bug
(via gccbug) so this can be investigated.
> I'm sure I'll get it going eventually. I just found out I need another
> configure flag "--enable-cxx-flags="-fshort-wchar". Thank you for your
> help.
This seems terribly wrong: the gcc/g++ defaults for wchar_t match what
Solaris 8 has in <iso/wchar_iso.h>, while the -fshort-wchar flag changes
wchar_t to short, creating an incompatibility with system functions.
Why do you think you need this?
Rainer