No, --enable-clocale=ieee_1003.1-2001 failed on Solaris 8, and on Solaris 10: sunhost1> uname -a SunOS sunhost1 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240 I get the following errors: /home/tscheres/gcc-build/./gcc/xgcc -shared-libgcc -B/home/tscheres/gcc-build/./gcc -nostdinc++ -L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src -L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/ -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include -x c++-header -g -O2 -I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sp arc-sun-solaris2.10 -I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include -I/home/tscheres/gcc-4.4.1/libstdc++-v3/libsupc++ -O0 -g /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h -o sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /ios_base.h:43, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios: 43, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr eam:40, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr eam:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp lex:47, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not declared in this scope In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.h:2599, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /basic_ios.h:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios: 45, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr eam:40, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr eam:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp lex:47, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const': /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.tcc:1006: error: '__convert_from_v' is not a member of 'std' In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.h:1911, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/loca le:43, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:78: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.tcc: In member function 'virtual _OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&, _CharT, long double) const': /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.tcc:579: error: '__convert_from_v' is not a member of 'std' make[2]: *** [sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch] Error 1 make[2]: Leaving directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include' make[2]: Entering directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3' /mu/dev/make/3.80/bin/make "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/sfw/bin/gcc" "CC_FOR_TARGET=/home/tscheres/gcc-build/./gcc/xgcc -B/home/tscheres/gcc-build/./gcc/ -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/ -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2 " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/home/tscheres/gcc-4.4.1/install-sh -c" "INSTALL_DATA=/home/tscheres/gcc-4.4.1/install-sh -c -m 644" "INSTALL_PROGRAM=/home/tscheres/gcc-4.4.1/install-sh -c" "INSTALL_SCRIPT=/home/tscheres/gcc-4.4.1/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2 " "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=/mu/dev/make/3.80/bin/make" "MAKEINFO=/home/tscheres/gcc-4.4.1/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "RUNTESTFLAGS=" "exec_prefix=/mu/dev/gcc/4.4.1-sunos510" "infodir=/mu/dev/gcc/4.4.1-sunos510/info" "libdir=/mu/dev/gcc/4.4.1-sunos510/lib" "includedir=/mu/dev/gcc/4.4.1-sunos510/include" "prefix=/mu/dev/gcc/4.4.1-sunos510" "tooldir=/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10" "gxx_include_dir=/mu/dev/gcc/4.4.1-sunos510/include/c++/4.4.1" "AR=ar" "AS=/home/tscheres/gcc-build/./gcc/as" "LD=/home/tscheres/gcc-build/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/tscheres/gcc-build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" all-recursive make[3]: Entering directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3' Making all in include make[4]: Entering directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include' mkdir -p ./sparc-sun-solaris2.10/bits/stdc++.h.gch mkdir -p ./sparc-sun-solaris2.10/bits/stdc++.h.gch /home/tscheres/gcc-build/./gcc/xgcc -shared-libgcc -B/home/tscheres/gcc-build/./gcc -nostdinc++ -L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src -L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/ -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include -x c++-header -g -O2 -I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sp arc-sun-solaris2.10 -I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include -I/home/tscheres/gcc-4.4.1/libstdc++-v3/libsupc++ -O0 -g /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h -o sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch /home/tscheres/gcc-build/./gcc/xgcc -shared-libgcc -B/home/tscheres/gcc-build/./gcc -nostdinc++ -L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src -L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/ -B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem /mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include -x c++-header -g -O2 -I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sp arc-sun-solaris2.10 -I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include -I/home/tscheres/gcc-4.4.1/libstdc++-v3/libsupc++ -O2 -g /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h -o sparc-sun-solaris2.10/bits/stdc++.h.gch/O2g.gch In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /ios_base.h:43, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios: 43, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr eam:40, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr eam:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp lex:47, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not declared in this scope In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /ios_base.h:43, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios: 43, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr eam:40, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr eam:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp lex:47, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not declared in this scope In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.h:2599, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /basic_ios.h:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios: 45, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr eam:40, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr eam:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp lex:47, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const': /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.tcc:1006: error: '__convert_from_v' is not a member of 'std' In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.h:2599, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /basic_ios.h:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios: 45, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr eam:40, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr eam:39, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp lex:47, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const': /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets.tcc:1006: error: '__convert_from_v' is not a member of 'std' In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.h:1911, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/loca le:43, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:78: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.tcc: In member function 'virtual _OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&, _CharT, long double) const': /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.tcc:579: error: '__convert_from_v' is not a member of 'std' In file included from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.h:1911, from /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/loca le:43, from /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:78: /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.tcc: In member function 'virtual _OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&, _CharT, long double) const': /home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits /locale_facets_nonio.tcc:579: error: '__convert_from_v' is not a member of 'std' make[4]: *** [sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [sparc-sun-solaris2.10/bits/stdc++.h.gch/O2g.gch] Error 1 make[4]: Leaving directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/home/tscheres/gcc-build' make: *** [all] Error 2 sunhost1> Any thoughts? Thanks... Todd Speech recognition in use. It makes mistakes. I correct the ones I notice... -----Original Message----- From: Ian Lance Taylor [mailto:iant@xxxxxxxxxx] Sent: Thursday, September 24, 2009 11:48 PM To: tscheresky Cc: gcc-help@xxxxxxxxxxx; libstdc++@xxxxxxxxxxx Subject: Re: GCC 4.x Solaris locale support... <tscheresky@xxxxxxxxxx> writes: > According to the post mentioned at the beginning of this email this is > expected behavior. But my environment needs the locale environment > variables set to something other than C, or POSIX. Is there any way for > GCC 4.4.1 on Solaris 8 or newer to support locales other than C, or > POSIX? According to http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html you could try configuring with --enable-clocale=ieee_1003.1-2001 Ian