develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH README.qnx hints/qnx.sh]

Thread Next
From:
Norton Allen
Date:
July 12, 2001 08:22
Subject:
[PATCH README.qnx hints/qnx.sh]
Message ID:
200107121529.LAA23411@bottesini.harvard.edu
More updates for QNX6. This is yet another platform. There
are still a few tests which are failing, but it's 99% there.

 -Norton Allen

--- ../ORIG/perl-11278/README.qnx	Mon Jul  9 10:09:46 2001
+++ perl-11278/README.qnx	Thu Jul 12 10:55:44 2001
@@ -8,7 +8,7 @@
 
 =head1 DESCRIPTION
 
-As of perl5.8.0 all tests pass under:
+As of perl5.7.2 all tests pass under:
 
   QNX 4.24G
   Watcom 10.6 with Beta/970211.wcc.update.tar.F
@@ -17,25 +17,20 @@
 Some tests may complain under known circumstances. See
 below and hints/qnx.sh for more information.
 
-[ Perl 5.6.0 is shipping with QNX RTP (aka QNX6, Neutrino), but
-the build does not appear to be straightforward. If anyone has
-more data in this regard, please let me know.
+Under QNX 6.1.0 there are still a few tests which fail.
+See below and hints/qnx.sh for more information.
 
-These notes were originally written for QNX4 and do not
-necessarily apply to Neutrino, but see hints/qnx.sh for
-more information. ] 
+=head2 Required Software for Compiling Perl on QNX4
 
-=head2 Required Software for Compiling Perl on QNX
-
 As with many unix ports, this one depends on a few "standard"
-unix utilities which are not necessarily standard for QNX.
+unix utilities which are not necessarily standard for QNX4.
 
 =over 4
 
 =item /bin/sh
 
 This is used heavily by Configure and then by
-perl itself. QNX's version is fine, but Configure
+perl itself. QNX4's version is fine, but Configure
 will choke on the 16-bit version, so if you are
 running QNX 4.22, link /bin/sh to /bin32/ksh
 
@@ -70,11 +65,11 @@
 
 =back
 
-=head2 Outstanding Issues with Perl on QNX
+=head2 Outstanding Issues with Perl on QNX4
 
 There is no support for dynamically linked libraries in QNX4.
 
-The following tests may report errors:
+The following tests may report errors under QNX4:
 
 ext/Cwd/Cwd.t will complain if `pwd` and cwd don't give
 the same results. cwd calls `fullpath -t`, so if you
@@ -113,6 +108,15 @@
 generate a similar cover, but it doesn't handle all the command-line
 options that perl throws at it. This might be reasonably placed in
 /usr/local/bin.
+
+=head2 Outstanding issues with perl under QNX6
+
+The following tests are still failing for Perl 5.7.1 under QNX 6.1.0:
+
+  op/sprintf.........................FAILED at test 91
+  lib/1_compile......................FAILED at test 33
+  ext/IO/lib/IO/t/io_sock............FAILED at test 12
+  ext/IO/lib/IO/t/io_udp.............FAILED at test 4
 
 =back
 
--- ../ORIG/perl-11278/hints/qnx.sh	Mon Jul  9 10:10:21 2001
+++ perl-11278/hints/qnx.sh	Thu Jul 12 11:01:31 2001
@@ -1,16 +1,13 @@
 #----------------------------------------------------------------
 # QNX hints
 #
-# These hints were written for QNX4, but are in the process
-# of being extended to encompass Neutrino as well.
+# Most of the hints in this file are for QNX4, which needed
+# more help. The QNX6 hints are located toward the bottom.
 #
-# As of perl5.004_04, all tests pass under:
-#  QNX 4.23A
+# perl-5.7.2 passes all tests under QNX4.24G
 #  Watcom 10.6 with Beta/970211.wcc.update.tar.F
 #  socket3r.lib Nov21 1996.
-# perl-5.6.1 runs well on QNX4 with a few known test failures
-# perl-5.6.0 ships with QNX RTP (Neutrino) but the build is
-# not yet straightforward.
+# perl-5.7.2 fails 4 known tests under QNX6.1.0
 #
 # As with many unix ports, this one depends on a few "standard"
 # unix utilities which are not necessarily standard for QNX4.
@@ -62,6 +59,15 @@
 #   lib/io_udp.t test hangs because of a bug in getsockname().
 #      Fixed in latest BETA socket3r.lib
 #----------------------------------------------------------------
+# Outstanding Issues for QNX6:
+#  The following tests are still failing as of 5.7.1:
+#
+#   op/sprintf.........................FAILED at test 91
+#   lib/1_compile......................FAILED at test 33
+#   ext/IO/lib/IO/t/io_sock............FAILED at test 12
+#   ext/IO/lib/IO/t/io_udp.............FAILED at test 4
+#
+#----------------------------------------------------------------
 # These hints were submitted by:
 #   Norton T. Allen
 #   Harvard University Atmospheric Research Project
@@ -208,4 +214,21 @@
 	  /usr/local/bin or some other suitable location.
 	EOF
   fi
+else
+  # $^O eq nto
+
+  ccflags='-DDLOPEN_WONT_DO_RELATIVE_PATHS'
+
+  # Options required to get dynamic linking to work
+  lddlflags='-shared'
+  ccdlflags='-Wl,-E'
+
+  # Somewhere in the build, something tries to throw a gcc
+  # option to $cc if it knows it invokes gcc. Our cc doesn't
+  # recognize that option, so we're better off setting cc=gcc.
+  cc='gcc'
+
+  # If we use perl's malloc, it dies with an invalid sbrk.
+  # This is probably worth tracking down someday.
+  usemymalloc='false'
 fi

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