develooper Front page | perl.perl5.porters | Postings from March 2008

[PATCH] Correcting 64-bit support when using "use64bitall"

Thread Next
From:
Sérgio Durigan Júnior
Date:
March 18, 2008 06:30
Subject:
[PATCH] Correcting 64-bit support when using "use64bitall"
Message ID:
1205847006.16048.10.camel@miki
Hi,

As I reported yesterday, I was working on a patch to solve the problem
of using the option '-Duse64bitall' in Configure. Well, after studying
the code I think I'm done with the patch. In fact, there are two
patches: one for the Configure script and another for the hints/linux.sh
script.

The patch which applies to the Configure adds a call to a CBU named
"lddl.cbu", responsible for modifying the 'lddlflags' after it has been
set (by the user or by the system, it doesn't really matter; the
important thing is to add the flag '-m64' for the compiler).

The patch that applies to the hints/linux.sh script handles three
variables: $ccflags, $ldflags and $lddlflags. For the last one, as
explained above, it generates a CBU to be executed later (that adds the
'-m64' flag in the variable). For the first two variables, it simple
appends the instruction '-m64' and goes on.

As many of you may have noticed it's my first patch here, what means
it'll probably contain some kind of mistake. If that's so, please let me
know how to correct it in order to make it acceptable :-).

Thanks in advance,

-- 
Sérgio Durigan Júnior
Software Engineer
Linux Technology Center - LTC
IBM Brazil

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About