MinGW and Perl 5.12 - Windows 32 bits ActiveState

S

sln

Has anyone actually benchmarked 64-bit over 32 in processing Perl
mechanics?

What are the performance delta's on each function?

Back in the day, I guess the ibm370 was 128 bit.
Can Perl be written for risc processors? But Perl gets cornerred
in the OS implementation details. That will eventually be the death
of it. But thats not Perl fault, it trys to please too many, too
much.

-sln
 
P

Peter J. Holzer

Back in the day, I guess the ibm370 was 128 bit.

32 bit. Current versions of this architecture (now called z series,
unless they've changed the name again) are 64 bit.

Can Perl be written for risc processors?

What do you mean by "Can Perl be written"? Neither Perl code nor the
perl interpreter need to be specially "written" for RISC processors. The
perl interpreter is written in reasonably portable C and compiles fine
on RISC processors (which aren't that similar, btw: A SPARC processor is
quite different from an Alpha).
But Perl gets cornerred in the OS implementation details. That will
eventually be the death of it. But thats not Perl fault, it trys to
please too many, too much.

-v?

hp
 
D

Dilbert

Quoth Dilbert <[email protected]>:








              ^^^^^^^^^^^^^^^^^^^^^^^^^^
Is this a 'spaces in the path' or 'path too long' problem? Can you
install the compiler somewhere like c:\mingw64 and try again?

Unfortunately I can't reproduce this error anymore, I don't know what
happened, but it works now and whatever I try, I can't make it fail.

Anyway, thanks very much for your input

==============================================
Here is my successful run

C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>perl -v

This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-
x64-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2010, Larry Wall

Binary build 1200 [292396] provided by ActiveState http://www.ActiveState.com
Built Apr 10 2010 22:58:59

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source
kit.

Complete documentation for Perl, including FAQ lists, should be found
on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.

C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>perl
Makefile.PL
Set up gcc environment - 4.4.5 20100513 (prerelease) [svn/rev.159365 -
mingw-w64/oz]
Checking if your kit is complete...
Looks good
Writing Makefile for Text::CSV_XS

C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
cp CSV_XS.pm blib\lib\Text\CSV_XS.pm
C:\Perl64\bin\perl.exe C:\Perl64\lib\ExtUtils\xsubpp -typemap C:
\Perl64\lib\ExtUtils\typemap CSV_XS.xs > CSV_XS.xsc && C:\Perl64\bin\
perl.exe -MExtUtils::Command -e "mv" -- CSV_XS.xsc CSV_XS.c
C:/Users/CK/DOCUME~1/PROGRA~1/MinGW64/mingw64/bin/gcc.exe -c -
DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCON
SERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -
DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -
fno-strict
-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.73\" -
DXS_VERSION=\"0.73\" "-IC:\Perl64\lib\CORE" CSV_XS.c
Running Mkbootstrap for Text::CSV_XS ()
C:\Perl64\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 CSV_XS.bs
C:\Perl64\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Text::CSV_XS\", 'DLBASE' => 'CSV_XS',
'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS'
=> []);"
Set up gcc environment - 4.4.5 20100513 (prerelease) [svn/rev.159365 -
mingw-w64/oz]
dlltool --def CSV_XS.def --output-exp dll.exp
C:\Users\CK\DOCUME~1\PROGRA~1\MinGW64\mingw64\bin\g++.exe -o blib\arch
\auto\Text\CSV_XS\CSV_XS.dll -Wl,--base-file -Wl,dll.base -s -mdl
l -L"C:\Perl64\lib\CORE" CSV_XS.o -Wl,--image-base,0x1b000000 C:
\Perl64\bin\perl512.dll -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl
g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32
-lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
dll.exp
dlltool --def CSV_XS.def --base-file dll.base --output-exp dll.exp
C:\Users\CK\DOCUME~1\PROGRA~1\MinGW64\mingw64\bin\g++.exe -o blib\arch
\auto\Text\CSV_XS\CSV_XS.dll -s -mdll -L"C:\Perl64\lib\CORE" CSV_
XS.o -Wl,--image-base,0x1b000000 C:\Perl64\bin\perl512.dll -lkernel32
-luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lol
e32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -
lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt dll.exp
C:\Perl64\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch
\auto\Text\CSV_XS\CSV_XS.dll
C:\Perl64\bin\perl.exe -MExtUtils::Command -e "cp" -- CSV_XS.bs blib
\arch\auto\Text\CSV_XS\CSV_XS.bs
C:\Perl64\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch
\auto\Text\CSV_XS\CSV_XS.bs
C:\Perl64\bin\perl.exe "-Iblib\arch" "-Iblib\lib" CSV_XS.PL CSV_XS
 
S

sisyphus

              ^^^^^^^^^^^^^^^^^^^^^^^^^^
Is this a 'spaces in the path' or 'path too long' problem?

I think this is just ActiveState's way of circumventing the 'spaces in
the path' problem. They use Win32::GetShortPathName() to convert to
the short pathname because that's guaranteed to contain no spaces.
Having the compiler installed in that location shouldn't be causing
any problems.

Cheers,
Rob
 
D

Dr.Ruud

sisyphus said:
I think this is just ActiveState's way of circumventing the 'spaces in
the path' problem. They use Win32::GetShortPathName() to convert to
the short pathname because that's guaranteed to contain no spaces.
Having the compiler installed in that location shouldn't be causing
any problems.

Good chance that "install the compiler somewhere like c:\mingw64", like
Ben proposed, will fix much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top