This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]