develooper Front page | perl.perl5.porters | Postings from April 2000

5.6.0, Win32(95), gcc, threads => snags

From:
franka
Date:
April 20, 2000 14:09
Subject:
5.6.0, Win32(95), gcc, threads => snags
Message ID:
200004202109.RAA49432@host.ott.igs.net
Hi all,
I've been working on compiling Perl-5.6.0 on win95 with gcc /
mingw / msvcrt with threads and dmake from sarathy (I think).

I started writting a cmd.exe compatible type of shell based on 
freecom and what I know about it (less than or equal to zero).  
Anyway, it's a can of worms, but here is what may be useful.

- Dmake is not compiled with DOS options.  Can't send stderr to a 
file, slash to backslash doesn't happen.

- In lib/extutils/MM_win32.pm line 163, "2>&1" breaks command.com but 
would work with cmd.exe.
	line 69    " # many makes are too dumb to use xs_c then c_o"
Dmake isn't, and complains about (paraphrased) "two paths to follow"
so remove xs$(OBJ_EXT) rule if compiling with dmake.
	line 257 changed to: (similar for 259)
DEFINE_VERSION = -D\$(VERSION_MACRO)=\\\\\\\"\$(VERSION)\\\\\\\"
VERSION with no quotes causes a strcmp type match error in .c files 
created with .xs files (the VERSION comes in unquoted!)

- Win95 returns negative PIDs on a createProcess!  This doesn't jibe 
with the "- means thread idea".

There's more I think,
I'll post it later if wanted...
Francois.



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