develooper Front page | perl.perl5.porters | Postings from November 1999

[PATCH 5.005_62] Perl on Win95, mark II

From:
Benjamin Stuhl
Date:
November 11, 1999 11:11
Subject:
[PATCH 5.005_62] Perl on Win95, mark II
Message ID:
19991111191037.98187.qmail@hotmail.com
I sent this in a few weeks ago, but it may have gotten lost between whatever 
was being vehemently argued at the time and the problems with 
perl5-porters@perl.com's hard disk:

Ok, here is my next version of Win95/command.com support.
This builds cleanly for me (Win95/GCC-2.95-mingw32), with the
exception of a circular dependency somewhere (I have to manually kill
the build once it's done with Errno, otherwise it regenerates
config.sh and starts over). Unfortunaltely, I am short enough on tuits
that it seems to me to be better to send this patch in so that people
can try it out now. This patch does two major things:

1: extend and clean up Win95/command.com support to the point that it
   may only be "experimental".

2: change GCC/Mingw32 to use only MSVCRT or (if available) PerlCRT.
   This means that locale now works (or at least as well as it can).
   Note: I haven't figured out how to build perl95.exe with
   GCC/Mingw32 (it may not be possible), so for Win95 and GCC, PerlCRT
   is _very_ strongly recommended

It passes as much of "make test" as one can reasonably expect, and a lot of 
the failures seem to be that a tempfile is being used somewhere rather than 
a pipe (so a lot of tests "fail" with the only difference being between "at 
- line X" and "at tmp001 line X"). I don't know if this failure is 
significant, but I doubt it.

Enjoy!

-- BKS

P.S. Here is the output from
'perl -MConfig -e "print Config::myconfig();':

Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='gcc', optimize='-g -O2 -D__MSVCRT__', gccversion=
    cppflags='-DWIN32'
    ccflags ='-g -O2 -D__MSVCRT__ -DWIN32 -DHAVE_DES_FCRYPT 
-DPERL_INTERNAL_GLOB'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L"..\lib\CORE" 
-L"c:\perl\5.00562\lib\MSWin32-x86\CORE" -L"c:\EGCS\i386-mingw32\lib"'
    libpth=c:\EGCS\i386-mingw32\lib
    libs=-lmingw32 -lgcc -lPerlCRT -loldnames -lkernel32 -luser32 -lgdi32 
-lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 
-lwsock32 -lmpr -lwinmm -lversion -lodbc32
    libc=-lPerlCRT, so=dll, useshrplib=yes, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll  -L"..\lib\CORE" 
-L"c:\perl\5.00562\lib\MSWin32-x86\CORE" -L"c:\EGCS\i386-mingw32\lib"'

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About