Fw: Can't build gcc 3.3.4 Linux to Sun Cross compiler
James E Wilson
wilson@specifixinc.com
Mon Aug 16 19:40:00 GMT 2004
Mark Cuss wrote:
> Thanks... I've made a new copy of my sysroot just to make sure but still
> have the same problem. I looked in the sysroot/usr/include/math.h as you
> suggested and these functions indeed do not exist... This suprises me a bit
> as I thought Solaris 9 could support all of this stuff.
I am not a Solaris expert. I would guess that the base OS ships with
only C90 headers files, or maybe even just K&R C header files, and if
you want C99 support, you need to buy the Sun compiler.
In this case, the problem is that libstdc++ configure failed somehow. I
should have mentioned this possibility in the earlier mail. libstdc++
has code in configure to check to see if these functions are present,
and provide substitutes if they aren't. Since they aren't there, this
code should have detected this and used the replacements. Try looking
at the libstdc++ config.log file and the libstdc++ config.h file.
You could also try submitting a bug report into bugzilla. This list is
primarily for discussing gcc development.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list