This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fw: Can't build gcc 3.3.4 Linux to Sun Cross compiler
- From: James E Wilson <wilson at specifixinc dot com>
- To: mcuss at cdlsystems dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 16 Aug 2004 12:27:23 -0700
- Subject: Re: Fw: Can't build gcc 3.3.4 Linux to Sun Cross compiler
- References: <0f6501c475a1$bb881a60$ab0e10ac@pinchy> <410D7CC0.7080906@specifixinc.com> <004c01c4824c$34fc93b0$ab0e10ac@pinchy>
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