cvsuser 04/05/09 00:56:27
Modified: . MANIFEST TODO.win32
lib/Parrot Test.pm
Added: . README.win32
Log:
[perl #29441] [PATCH] MSWin32 Docs
Documentation update, including build instructions for local ICU
installation.
TODO.win32
README.win32
Quote parameter passed to parrot during test, for those who like
spaces in their directory names.
Courtesy of Ron Blaschke <[EMAIL PROTECTED]>
Revision Changes Path
1.641 +1 -0 parrot/MANIFEST
Index: MANIFEST
===================================================================
RCS file: /cvs/public/parrot/MANIFEST,v
retrieving revision 1.640
retrieving revision 1.641
diff -u -w -r1.640 -r1.641
--- MANIFEST 5 May 2004 14:14:24 -0000 1.640
+++ MANIFEST 9 May 2004 07:56:23 -0000 1.641
@@ -14,6 +14,7 @@
PBC_COMPAT [main]doc
PLATFORMS [main]doc
README [main]doc
+README.win32 [main]doc
RELEASE_INSTRUCTIONS []
RESPONSIBLE_PARTIES [main]doc
TODO [main]doc
1.3 +8 -12 parrot/TODO.win32
Index: TODO.win32
===================================================================
RCS file: /cvs/public/parrot/TODO.win32,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- TODO.win32 6 May 2004 07:12:45 -0000 1.2
+++ TODO.win32 9 May 2004 07:56:23 -0000 1.3
@@ -10,18 +10,7 @@
=head1 DESCRIPTION
-Win32 "native" ports require no additional software to run but the
-operating system. There should be other TODOs for (emulation) systems
-that run on Win32, eg Cygwin.
-
-Native compilers include:
-
- Borland C++ (bcc) version xxx or later
- Microsoft Visual C++ (cl) version xxx or later
- Mingw32 with GCC (gcc) version xxx or later
- Intel C++ (icl) version 8.0.48 works
-
-=head1 OPEN ISSUES
+=head2 Open Issues
=over 4
@@ -61,6 +50,13 @@
know much about Win32)."
=item Threads, Events, Signals, Sockets
+
+Anyone?
+
+=item Microsoft Visual C++ Toolkit 2003
+
+Provide setup and build instructions for Microsoft Visual C++ Toolkit 2003
+(L<http://msdn.microsoft.com/visualc/vctoolkit2003/>).
=back
1.1 parrot/README.win32
Index: README.win32
===================================================================
This file is best viewed with "perldoc README.win32".
=head1 NAME
README.win32 - Parrot under Windows
=head1 SYNOPSIS
These are instructions for building the "native" port of Parrot under
Windows 2000/XP on the Intel x86 architecture.
=head1 DESCRIPTION
Win32 "native" ports require no additional software to run but the
operating system. There should be other READMEs for (emulation)
systems that run on Win32, eg Cygwin.
Native compilers include:
Borland C++ (bcc) version xxx or later
Microsoft Visual C++ (cl) version 13.10.3077 or later
MinGW32 with GCC (gcc) version xxx or later
Intel C++ (icl) version 8.0.48 works
=head2 Setting Up Parrot
=over
=item Make
You need "nmake" to build Parrot under Windows. It should be
available via Microsoft Visual Studio .NET 2003 or the Microsoft .NET
Framework SDK 1.1. The later can be downloaded from the Microsoft
.NET Framework Homepage L<http://msdn.microsoft.com/netframework/>.
=item Command Shell
The surest way to build it is on Windows NT/2000/XP, using the cmd shell.
=item ICU
Though Parrot comes with ICU, the build system is rather fragile, and
will not work for most people. Currently, the best way to use ICU is
to download the binary distribution from
L<http://oss.software.ibm.com/icu/download/2.8/index.html>, unpack
it (say, into C:\usr\lib), add the bin directory to PATH, and tell
Configure.pl to use it.
mkdir C:\usr\lib
unzip icu-2.8-Win32_msvc7.zip -d C:\usr\lib
set PATH=%PATH%;C:\usr\lib\icu\bin
cd <parrot directory>
perl Configure.pl --icushared="C:\usr\lib\icu\lib\icudata.lib
C:\usr\lib\icu\lib\icuuc.lib" --icuheaders="C:\usr\lib\icu\include"
=item Borland C++
XXX
=item Microsoft Visual C++
Since mid April 2004, Visual C++ comes in two flavors. Microsoft
Visual Studio .NET 2003 (L<http://msdn.microsoft.com/visualc/>), which
includes the full blown IDE, and Microsoft Visual C++ Toolkit 2003
(L<http://msdn.microsoft.com/visualc/vctoolkit2003/>), which is a free
(but unsupported) package, containing only the basic compiler and
linker stuff.
Only Microsoft Visual Studio is currently known to work. XXX Add
Microsoft Visual C++ Toolkit instructions here XXX
=item MinGW32 with GCC
XXX
=item Intel C++
XXX
=back
=head2 Building
nmake
=head2 Testing
nmake test
=head2 Installation
nmake install
=head2 Usage Hints
XXX
=head1 BUGS AND CAVEATS
See L<TODO.win32> for things that are known to broken, or are not
implemented yet.
=head1 ACKNOWLEDGEMENTS
XXX
=head1 AUTHORS
=over
=item XXX Your Name Here XXX
=back
This document is maintained by XXX Your Name Here XXX.
=head1 SEE ALSO
L<parrot>
L<TODO.win32>
=head1 HISTORY
This document borrows heavily from perl's README.win32.
Last updated: 08 May 2004
=cut
1.57 +2 -2 parrot/lib/Parrot/Test.pm
Index: Test.pm
===================================================================
RCS file: /cvs/public/parrot/lib/Parrot/Test.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -w -r1.56 -r1.57
--- Test.pm 22 Apr 2004 01:17:20 -0000 1.56
+++ Test.pm 9 May 2004 07:56:27 -0000 1.57
@@ -1,5 +1,5 @@
# Copyright: 2004 The Perl Foundation. All Rights Reserved.
-# $Id: Test.pm,v 1.56 2004/04/22 01:17:20 dan Exp $
+# $Id: Test.pm,v 1.57 2004/05/09 07:56:27 leo Exp $
=head1 NAME
@@ -278,7 +278,7 @@
my $exit_code = 0;
my $pass = 0;
- $cmd = "(cd $path_to_parrot && $PARROT ${args} $as_f)";
+ $cmd = "(cd $path_to_parrot && $PARROT ${args} \"$as_f\")";
$exit_code = _run_command($cmd, STDOUT => $out_f, STDERR => $out_f);