develooper Front page | perl.perl5.porters | Postings from February 2003

[PATCH] Get MSWin32 back compiling

Thread Next
From:
Abe Timmerman
Date:
February 28, 2003 19:35
Subject:
[PATCH] Get MSWin32 back compiling
Message ID:
200303010431.20205.abe@ztreet.demon.nl
Hi,

Well today has been a fruitful day and it looks like Win32 is back to 
compiling order [for the default configuration, on gcc 3.2]. 
(smoke started, will report back)

Here are three patches to ammend three older changes [regen_headers needed]

Sarathy's patch to go on top of change 17728
"Conditionally defined symbols must also be counter-conditially skipped 
somewhere in F<makedef.pl>"

--- ../perl-current/makedef.pl	2002-12-02 17:55:35.000000000 +0100
+++ makedef.pl	2003-03-01 02:41:23.000000000 +0100
@@ -560,6 +560,12 @@
 		    )];
 }
 
+unless ($define{'PERL_COPY_ON_WRITE'}) {
+    skip_symbols [qw(
+                    Perl_sv_setsv_cow
+                  )];
+}
+
 unless ($define{'PERL_FLEXIBLE_EXCEPTIONS'}) {
     skip_symbols [qw(
 		    PL_protect

Sarathy's suggestion for a patch to go on top of change 18725
"API functions must also have an A-flag in F<embed.fnc>"

--- ../perl-current/embed.fnc	2003-02-26 03:50:54.000000000 +0100
+++ embed.fnc	2003-03-01 02:43:03.000000000 +0100
@@ -727,7 +727,7 @@
 Apd	|bool	|sv_derived_from|SV* sv|const char* name
 Apd	|I32	|sv_eq		|SV* sv1|SV* sv2
 Apd	|void	|sv_free	|SV* sv
-po	|void	|sv_free2	|SV* sv
+Apo	|void	|sv_free2	|SV* sv
 pd	|void	|sv_free_arenas
 Apd	|char*	|sv_gets	|SV* sv|PerlIO* fp|I32 append
 Apd	|char*	|sv_grow	|SV* sv|STRLEN newlen

and Adi's patch to go on top of change 18785
It was suggested that this was a typo/c-n-p error

--- ../perl-current/perl.h	2003-02-26 03:50:55.000000000 +0100
+++ perl.h	2003-02-28 02:52:29.000000000 +0100
@@ -4229,7 +4229,7 @@
 #ifndef PERL_BLOCKSIG_BLOCK
 #   define PERL_BLOCKSIG_BLOCK(set)	NOOP
 #endif
-#ifndef PERL_BLOCKSIG_ADD
+#ifndef PERL_BLOCKSIG_UNBLOCK
 #   define PERL_BLOCKSIG_UNBLOCK(set)	NOOP
 #endif
 

Good luck,

Abe
-- 
I'm not convinced.  By setting up mock-ups you are not testing the
real thing: you are testing mock-ups.  It's really emptying shotguns
at decoys and concluding that yup, we are eating duck tonight.
                                   -- Jarkko Hietaniemi on p5p @ 2001-10-20


Thread Next


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