Re: 32bit strawberry perl with -Duse64bitint

2012-05-16 Thread Sisyphus


- Original Message - 
From: kmx




Of course *dbm thinks are absolutely unrelated to -Duse64bitint. I have
just taken the changes we do in standard strawberry perl + applied
additional changes related to -Duse64bitint.


Understood.


In
http://svn.ali.as/cpan/trunk/Perl-Dist-Strawberry/share/perl-5.16/diffs_for_info_only/
you can see what changes are standard in strawberry perl. I think you 
can

easily distinguish what has to be patched for -Duse64bitint.


Yes, no problems there.
Thanks.

Cheers,
Rob 



Re: 32bit strawberry perl with -Duse64bitint

2012-05-16 Thread Sisyphus


- Original Message - 
From: kmx k...@atlas.cz

To: win32-vanilla@perl.org
Sent: Wednesday, May 16, 2012 6:53 PM
Subject: Re: 32bit strawberry perl with -Duse64bitint





One thing I noticed is that $Config{archname} still reports
'MSWin32-x86-multi-thread'.
I think it should probably differentiate itself from -Uuse64bitint
builds, though I'm not sure of the rules in this regard (if there are 
any).

Perhaps something like 'MSWin32-x86-multi-thread-64int' - but if there
are no rules, then I reckon *you* get to choose.



Well, I have changed in config_H.gc:

#define ARCHNAME MSWin32-x86-64int

but it is obviously the wrong place and the wrong string - I should revert
it. It seems that some hacking/patching in win32/makefile.mk can fix this.


Oh, yes ... I think that's right. (I've been searching the source for 
'multi-thread' and wondering why I wasn't getting any useful hits.)


I already see:

.IF $(USE_ITHREADS) == define
ARCHNAME !:= $(ARCHNAME)-thread
.ENDIF

So I guess it's just a matter of adding after that something like:

.IF $(USE_64_BIT_INT) == define
ARCHNAME !:= $(ARCHNAME)-64int
.ENDIF


Looking forward to the arrival of  'MSWin32-x86-multi-thread-64int-ld' 
;-)




you mean -Duselongdouble?


That's right. (It'd be nice - but this is not a serious request for it.)

If one wanted to add the -Duse64bitint capability to the official perl 
sources (say, for 5.18) would one be looking at providing an additional 
config.gc (say, config.gc_int64) and an additional config_H.gcc 
(config_H.gc_int64) ?


That's the way *I* would go about it ... just wondering if you see a better 
way.


Cheers,
Rob 



Re: 32bit strawberry perl with -Duse64bitint

2012-05-15 Thread Sisyphus


- Original Message - 
From: kmx k...@atlas.cz

To: win32-vanilla@perl.org
Sent: Wednesday, May 16, 2012 7:37 AM
Subject: 32bit strawberry perl with -Duse64bitint



On 28.4.2012 5:13, Sisyphus wrote:

...
kmx, have you already been working on building a 32-bit SP with
-Duse64bitint ?


Now available at http://strawberryperl.com/beta/ (only Portable edition
based on perl-5.16.0-RC1)

Applied patches to config.gc and config_H.gc are here:
http://svn.ali.as/cpan/trunk/Perl-Dist-Strawberry/share/perl-5.16-x86-64int/diffs_for_info_only/


Excellent !!
I'll try this out as soon as I get a chance.

Is the dbm/gdbm/ndbm stuff critical to the build of a -Duse64bitint perl ?
(I'll probably wait until 5.16.0 is released, whereupon I intend to try 
building such a perl myself, using the mingw.org compiler (gcc-4.5.2). It 
doesn't have any of  the dbm/gdbm/ndbm stuff, afaik.)


Cheers,
Rob 



Re: 32bit strawberry perl with -Duse64bitint

2012-05-15 Thread kmx
On 16.5.2012 5:00, Sisyphus wrote:
 - Original Message - From: kmx k...@atlas.cz
 To: win32-vanilla@perl.org
 Sent: Wednesday, May 16, 2012 7:37 AM
 Subject: 32bit strawberry perl with -Duse64bitint

 On 28.4.2012 5:13, Sisyphus wrote:
 ...
 kmx, have you already been working on building a 32-bit SP with
 -Duse64bitint ?

 Now available at http://strawberryperl.com/beta/ (only Portable edition
 based on perl-5.16.0-RC1)

 Applied patches to config.gc and config_H.gc are here:
 http://svn.ali.as/cpan/trunk/Perl-Dist-Strawberry/share/perl-5.16-x86-64int/diffs_for_info_only/


 Excellent !!
 I'll try this out as soon as I get a chance.

 Is the dbm/gdbm/ndbm stuff critical to the build of a -Duse64bitint perl ?
 (I'll probably wait until 5.16.0 is released, whereupon I intend to try
 building such a perl myself, using the mingw.org compiler (gcc-4.5.2). It
 doesn't have any of  the dbm/gdbm/ndbm stuff, afaik.)

Of course *dbm thinks are absolutely unrelated to -Duse64bitint. I have
just taken the changes we do in standard strawberry perl + applied
additional changes related to -Duse64bitint.

In
http://svn.ali.as/cpan/trunk/Perl-Dist-Strawberry/share/perl-5.16/diffs_for_info_only/
you can see what changes are standard in strawberry perl. I think you can
easily distinguish what has to be patched for -Duse64bitint.

--
kmx