X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.os2;h=19af8c519d5b61b56e3f96ba77303674060ed669;hb=eba8ff18d7b4f163fccc1997c51233b02fd29e80;hp=46f032a7ff9fb19cc9699c1530661b27f0949438;hpb=6d0f518e0b7ff19ca6956aba9c075bcc87b59d84;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.os2 b/README.os2 index 46f032a..19af8c5 100644 --- a/README.os2 +++ b/README.os2 @@ -115,7 +115,7 @@ Contents - Threads AUTHOR SEE ALSO - + =head1 DESCRIPTION =head2 Target @@ -178,13 +178,14 @@ has much more functions working (like C, C and so on). In fact RSX is required if there is no VCPI present. Note the RSX requires DPMI. -Only the latest runtime is supported, currently C<0.9c>. Perl may run +Only the latest runtime is supported, currently C<0.9d fix 03>. Perl may run under earlier versions of EMX, but this is not tested. One can get different parts of EMX from, say - ftp://ftp.cdrom.com/pub/os2/emx09c/ - ftp://hobbes.nmsu.edu/os2/unix/emx09c/ + http://www.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/ + http://powerusersbbs.com/pub/os2/dev/ [EMX+GCC Development] + http://hobbes.nmsu.edu/pub/os2/dev/emx/v0.9d/ The runtime component should have the name F. @@ -393,12 +394,12 @@ is considered a bug and should be fixed soon. =over 4 -=item +=item * Did you run your programs with C<-w> switch? See L. -=item +=item * Do you try to run I shell commands, like C<`copy a b`> (internal for F), or C<`glob a*b`> (internal for ksh)? You @@ -723,7 +724,7 @@ can be constructed using C. =head1 BUILD Here we discuss how to build Perl under OS/2. There is an alternative -(but maybe older) view on L. +(but maybe older) view on http://www.shadow.net/~troc/os2perl.html =head2 Prerequisites @@ -830,7 +831,7 @@ to EMX headers: +++ /emx/include/sys/stat.h Sun Jul 12 14:11:32 1998 @@ -53,7 +53,7 @@ struct stat #endif - + #if !defined (S_IFMT) -#define S_IFMT 0160000 /* Mask for file type */ +#define S_IFMT 0170000 /* Mask for file type */ @@ -1060,6 +1061,10 @@ You did not run C. See L. You use an old version of GNU make. See L. +=head2 op/sprintf test failure + +This can result from a bug in emx sprintf which was fixed in 0.9d fix 03. + =head1 Specific (mis)features of OS/2 port =head2 C, C @@ -1158,18 +1163,18 @@ eventually). =over 4 -=item +=item * Since L is present in EMX, but is not functional, it is emulated by perl. To disable the emulations, set environment variable C. -=item +=item * Here is the list of things which may be "broken" on EMX (from EMX docs): -=over +=over 4 =item * @@ -1200,7 +1205,7 @@ L: Note that C does not work with the current version of EMX. -=item +=item * Since F is used for globing (see L), the bugs of F plague perl as well. @@ -1481,7 +1486,7 @@ this works as well under DOS if you use DOS-enabled port of pdksh B currently F of pdksh calls external programs via fork()/exec(), and there is I functioning exec() on -OS/2. exec() is emulated by EMX by asyncroneous call while the caller +OS/2. exec() is emulated by EMX by asynchronous call while the caller waits for child completion (to pretend that the C did not change). This means that 1 I copy of F is made active via fork()/exec(), which may lead to some resources taken from the system (even if we do @@ -1512,9 +1517,9 @@ cannot test it. For the details of the current situation with calling external programs, see L. -=over +=over 4 -=item +=item * External scripts may be called by name. Perl will try the same extensions as when processing B<-S> command-line switch. @@ -1525,8 +1530,8 @@ as when processing B<-S> command-line switch. Perl uses its own malloc() under OS/2 - interpreters are usually malloc-bound for speed, but perl is not, since its malloc is lightning-fast. -Perl-memory-usage-tuned benchmarks show that Perl's malloc is 5 times quickier -than EMX one. I do not have convincing data about memory footpring, but +Perl-memory-usage-tuned benchmarks show that Perl's malloc is 5 times quicker +than EMX one. I do not have convincing data about memory footprint, but a (pretty random) benchmark showed that Perl one is 5% better. Combination of perl's malloc() and rigid DLL name resolution creates @@ -1544,7 +1549,7 @@ preliminary. Most notable problems: -=over +=over 4 =item C