----- Original Message -----
From: "Sisyphus" <[EMAIL PROTECTED]>
To: "Jan Dubois" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 8:55 AM
Subject: Re: Re[4]: Release of ActivePerl 5.8.0 - released today


>
> ----- Original Message -----
> From: "Jan Dubois" <[EMAIL PROTECTED]>
> >
> > Are you sure you used the same compilation options?  Especially, did you
> > set all 3 of USE_MULTI, USE_ITHREADS and USE_IMP_SYS?
> >
>
> Yes, I accepted the 'BUILD_FLAVOR=ActivePerl' option which sets USE_MULTI
> and USE_ITHREADS.
> 'Perl - V' declares that 'useithreads=define' and
'usemultiplicity=define'.
> It also mentions '-DPERL_IMPLICIT_SYS' as one of the ccflags, so I assume
it
> has also been set.
>
> > Service packs shouldn't make a difference.  I cannot remember if the
> > "Standard Edition" of VC++ 6 supports optimization or not.  Did you get
> > any warning from using the -O2 switch?
> >
>
> No warning about that .... but then I've used the -O1 switch because
that's
> the one specified in the makefile.
>
> Should I try changing that to -O2 ?
>
> There's a comment in the makefile that says "-O1 yields smaller code,
which
> turns out to be faster than -O2".
>
> I've since tried benchmark comparisons of some other code and while mingw
> perl is generally faster, the difference in performance is generally far
> less pronounced than for the code I posted.
>
> Cheers,
> Rob
>

In the end, I downloaded build 626 built by AS and compared its performance
to the 626 that I built, by running that script that I posted the other day.

626 built by AS took 2.94 seconds.
626 built by me took 4.64 seconds.

I then did a 'perl -V' for both builds (redirected to separate files) and
did a 'diff' of the output. There are no differences apart from time of
compilation and path settings that I can spot.

Here's what 'diff -u ap626.txt sp626.txt' produced:
---------------------------------------------------------
 --- ap626.txt   2002-11-12 17:06:24.000000000 +1100
+++ sp626.txt   2002-11-12 17:07:12.000000000 +1100
@@ -17,14 +17,14 @@
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lse
eksize=4
     alignbytes=8, usemymalloc=n, prototype=define
   Linker and Libraries:
-    ld='', ldflags ='-nologo -nodefaultlib -release  -libpath:"C:\p4view\A
pps\ActivePerl\MSI\data\ActivePerl\Perl\lib\CORE"  -machine:x86'
-    libpth=C:\DEVSTU~2\VC98\lib
+    ld='', ldflags ='-nologo -nodefaultlib -release  -libpath:"D:\Perl\lib
\CORE"  -machine:x86'
+    libpth=D:\VC98\lib
     libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  co
mdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uu
id.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib m
svcrt.lib
     perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.li
b uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.l
ib msvcrt.lib
     libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
   Dynamic Linking:
     dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
-    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release  -libpa
th:"C:\p4view\Apps\ActivePerl\MSI\data\ActivePerl\Perl\lib\CORE"  -machine:
x86'
+    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release  -libpa
th:"D:\Perl\lib\CORE"  -machine:x86'


 Characteristics of this binary (from libperl):
@@ -32,8 +32,8 @@
   Locally applied patches:
        ActivePerl Build 626
   Built under MSWin32
-  Compiled at May  2 2001 01:31:15
+  Compiled at May  5 2001 15:03:08
   @INC:
-    E:/perl626/lib
-    E:/perl626/site/lib
+    D:/Perl/lib
+    D:/Perl/site/lib
     .
---------------------------------------------

So if there's no difference in 'perl -V', and no-one can come up with some
alternate explanation, then I can only assume that M$ have produced a
sub-standard edition of msvc++ and called it the standard edition.

Anyone else built perl using msvc++ standard edition ?

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to