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

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

Thread Next
Sérgio Durigan Júnior
March 18, 2008 06:30
[PATCH] Correcting 64-bit support when using "use64bitall"
Message ID:

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/

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/ 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About