hi Leffer..

thanks for your mail..

gcc version output

*andd141# perl -V:gccversion*
gccversion='3.4.6';
*andd141# gcc --version*
gcc (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I was try to upgrade this version using gcc-3.4.6 but its not updating.. any
idea?

Best Regards
Faizal S
GSM : 9840118673
Blog: http://oradbapro.blogspot.com


On Tue, Oct 6, 2009 at 2:21 AM, Jonathan Leffler <jonathan.leff...@gmail.com
> wrote:

> Look at the 'perl -V' output.
> Compare the version of GCC used there with the version you have.
>
> It is likely that Perl was built with a much newer version of GCC, and your
> older version apparently does not support the C99-related warning about
> '-Wdeclaration-after-statement'.
>
> Your options are to upgrade GCC to at least the version used to build Perl,
> or to build Perl with the version of GCC you have.
>
>
> On Mon, Oct 5, 2009 at 9:06 AM, F.A.I.Z.A.L <sac.fai...@gmail.com> wrote:
>
>> Hi Greg.
>>
>> thanks for your reply...
>>
>> gcc version is 3.3.2
>> perl version is 5.8.8.
>> solaris sparc 8 64b
>>
>> is there any document for upgrading gcc version. i have tried with
>> gcc3.4.6
>> but its says no changes made, still in the pervious version.. any
>> suggesstion and advice please..
>>
>> thanks in advance...
>>
>> Best Regards
>> Faizal S
>> GSM : 9840118673
>> Blog: http://oradbapro.blogspot.com
>>
>>
>> On Mon, Oct 5, 2009 at 6:33 PM, Greg Sabino Mullane <g...@turnstep.com
>> >wrote:
>> > > please help to install. dbi module under solaris 8 os
>> >
>> > Solaris 8 is pretty darn old.
>> >
>> > > cc1: error: unrecognized option `-Wdeclaration-after-statement'
>> > > make: *** [Perl.o] Error 1
>> >
>> > What does gcc --version output? I think that exact option was
>> > introduced in gcc version 3.0, so if your compiler is older than that,
>> > you should get a newer compiler. You should also get a newer/better OS,
>> > but that's beyond the scope of this list. :)
>>
>
>
>
> --
> Jonathan Leffler <jonathan.leff...@gmail.com>  #include <disclaimer.h>
> Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org
> "Blessed are we who can laugh at ourselves, for we shall never cease to be
> amused."
>

Reply via email to