develooper Front page | perl.perl5.porters | Postings from June 2012

Re: MSWin32-x86-multi-thread-64int for perl-5.18 ?

Thread Previous | Thread Next
June 11, 2012 01:12
Re: MSWin32-x86-multi-thread-64int for perl-5.18 ?
Message ID:
On 9.6.2012 19:17, Steve Hay wrote:
> ...
> I've started work on this with commit 7bef440cec, which does away with
> the *.gc64nox canned configs, and instead edits the *.gc64 canned
> configs based on the GCCCROSS setting in the

I definitely support consolidation of *.gc64nox + *.gc64 config (I guess
that cross-compilation is quite rare)

> Please take a look and confirm that I've not broken anything. I've
> just tested with the compiler taken from the "Win64 Downloads" link on
> (x86_64-w64-mingw32-gcc.exe, version
> 4.7.0) and it works for me, albeit with a couple of test failures
> which I also had before my changes. I think part of that is the
> xcopies near the end of are looking in the wrong place for
> DLLs to copy into t/, the DLLs in my case being in $(CCHOME)\lib
> rather than $(CCHOME)\bin. I will also look into that in due course,
> but now plan on addressing your 64-bit int config with a new macro in

As for gcc toolchain:

gcc toolchains used by strawberry perl are available at:

NOTE: the latest strawberry perl uses gcc-4.6.3 binaries delivered by Mark
Dootson - (in ZIPs available at
strawberryperl site I have just repacked Mark's binaries without fortran
and objective-c).

As for x86-64-bit-int config the actual changes/patches I have done are
IMHO quite simple.

The only think I expect might be a trouble if we want to support more
compilers are format strings for (s)printf long numbers - e.g. %lld (which
is fine with gcc but I am not sure about 32bit MS compiler).


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About