Fw: Can't build gcc 3.3.4 Linux to Sun Cross compiler

Mark Cuss mcuss@cdlsystems.com
Mon Aug 16 21:29:00 GMT 2004


Thanks for the help.

Gcc 3.3.3 builds natively on Sun OK (we've been using it for months), it's
just the cross compiler that won't build - sounds like you could be right on
the misconfigured libstdc++.

Sorry - I didn't know that this wasn't the place to post these sorts of
questions...  If I have more questions on building and configuring gcc where
should I ask them?

Thanks!
Mark

----- Original Message ----- 
From: "James E Wilson" <wilson@specifixinc.com>
To: <mcuss@cdlsystems.com>
Cc: <gcc@gcc.gnu.org>
Sent: Monday, August 16, 2004 1:27 PM
Subject: Re: Fw: Can't build gcc 3.3.4 Linux to Sun Cross compiler


> 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