Solaris 10: wchar_iso.h vs cwchar
Marc Glisse
marc.glisse@inria.fr
Fri Sep 2 10:14:00 GMT 2011
On Fri, 2 Sep 2011, Maciej BliziÅski wrote:
> 2011/9/2 Marc Glisse <marc.glisse@inria.fr>:
>> On Fri, 2 Sep 2011, Maciej BliziÅski wrote:
>>
>>> Hello,
>>>
>>> While attempting to build PPL on Solaris 10 with gcc-4.6.1, I
>>> encountered a problem. Â The first error looks like this:
>>
>> Actually there is like a million other errors in there (those about limits
>> are particularly noticable), I would say the gcc installation is broken.
>> Maybe the new installation got mixed up with an old one? One way to check,
>> compile a file containing #include <limits> with g++ -E file.cc and check
>> the list of files that are read (c++config.h in particular).
>
> Here's the output:
> http://netra.chopin.edu.pl/~maciej/limits.log
That doesn't match the error in PPL. The only difference I can see is
-I/opt/csw/include on the command line. Can you try again with it? (and
maybe also -dD)
> To get it to build, I need to specify a couple more:
>
> ${src}/configure \
> --prefix=/opt/gcctest \
> --enable-bootstrap \
That one is the default.
> --enable-stage1-languages=c \
Is that necessary?
> --enable-languages=c,c++ \
> --with-gnu-as \
> --with-as=/opt/csw/bin/gas \
> --without-gnu-ld \
> --with-ld=/usr/ccs/bin/ld \
> --with-mpfr=/opt/csw \
> --with-gmp=/opt/csw \
> --with-mpc=/opt/csw \
> --with-libiconv-prefix=/opt/csw
Those are fine.
--
Marc Glisse
More information about the Gcc-help
mailing list