gcc 3.2 on Solaris 8 (libgcc_s.so problem)
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Tue Aug 20 16:51:00 GMT 2002
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
More information about the Gcc
mailing list