Date: | Wed, 19 Mar 2003 14:03:36 +0100 |
From: | Reini Urban <rurban [...] x-ray.at> |
To: | bug-par [...] rt.cpan.org |
Subject: | cygwin myldr par.exe patch |
To compile par.exe on cygwin I needed this patch.
Otherwise only par.dll was created, instead of the needed par.exe
(Wonder why one needs a par.dll instead of the exe.)
I believe it's simply a oversight, maybe perlld really creates
executables on other platforms with -o par
$ diff -bu PAR-0.65/myldr/Makefile.PL~ PAR-0.65/myldr/Makefile.PL
--- PAR-0.65/myldr/Makefile.PL~ 2003-03-09 14:03:09.000000000 +0100
+++ PAR-0.65/myldr/Makefile.PL 2003-03-19 13:59:18.000000000 +0100
@@ -98,8 +98,10 @@
-\$(RM) $parl_exe
-\$(RM) Makefile Makefile.old
+par : $par_exe
+
$par_exe: \$(OBJECTS) my_par_pl.c
- \$(LD) \$(OBJECTS) \$(LDFLAGS) $out\$@
+ \$(CC) \$(OBJECTS) \$(LDFLAGS) $out\$@
$parl_exe: $par_exe
$par_exe -I../myldr/.. -I../blib/lib $lib_path -B -O$parl_exe
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/