Solaris 7 build fails for v2.90.7 and current cvs

Benjamin Kosnik bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


It looks like the difference is $(includedir), ie your prefix argument. 


I used --prefix=/horton/bkoz/H-solaris27-libstdc++ when configuring, 
which gave me 

-I/horton/bkoz/H-solaris27-libstdc++/include

on the CXXCOMPILE line that I sent previously. It looks like you didn't 
specify a prefix so it defaulted to --prefix=/usr/include and gave you

-I/usr/include

Which seems to be the root cause of your problems.


Try compiling just valarray-inst.lo without that include. If it works, 
then this is the problem. For the moment, you can just manually specify a 
prefix when configuring to get around this.

(the $includedir macro has to be included for platforms that define their 
own std headers... it needs to be in there. I don't know how to disable 
it for this case though... (any ideas?))

-benjamin


More information about the Libstdc++ mailing list