develooper Front page | perl.dbi.users | Postings from March 2008

Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6

Thread Previous | Thread Next
From:
Jonathan Leffler
Date:
March 20, 2008 11:54
Subject:
Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
On Thu, Mar 20, 2008 at 10:39 AM, Richard T Malafa <rmalafa@csc.com> wrote:

> Upgrade your gcc and get the sun code generator if you want it from SUN...
>  It's version 4.2.0  read the url.
> http://www.sun.com/download/products.xml?id=43fb4c75
> Check out the "cool tools" also on that page..
>

It's not necessary - GCC 3.4.6 is fine.

I've just rebuilt Perl 5.8.8 with GCC 3.4.6 in 64-bit mode.  It was more
exasperating than I expected because some monkey added a hint in
hints/solaris_2.sh to use getconf to add arguments to the linker - search
for an if statement that contains:

ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"

Eliminate it - it comments that it isn't sure it is necessary, and it is
actually counter productive.
I also got 7 (count them!) copies of -DPERL_USE_SAFE_PUTENV because a
config.over got extended each time I ran the configure.  Grump!

-- 
Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2008.0229 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."


Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About