This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add Dave Rolsky to the Release Roster
[perl5.git] / hints / sco.sh
index 1d1d5c2..c8a3dbd 100644 (file)
@@ -46,7 +46,7 @@
 # -Even optimized for speed, gcc generated code is smaller (!!!)
 # -gcc is free
 # -I use ld to link which is distributed with the core OS distribution, so you
-#  don't need to buy the developement kit, just find someone kind enough to
+#  don't need to buy the development kit, just find someone kind enough to
 #  give you a binary release of gcc.
 #
 #
@@ -111,7 +111,7 @@ then
     esac
 else
     ###############################################################
-    # Need this in release 5 because of changed fpu exeption rules
+    # Need this in release 5 because of changed fpu exception rules
     ccflags="$ccflags -D HAS_FPSETMASK"
 
     ###############################################################
@@ -148,7 +148,7 @@ else
                 lddlflags='-G -L/usr/local/lib'
             ;;
             *)
-                ccdlflags='-Bexport -L/usr/local/lib'
+                ccdlflags='-Wl,-Bexport -L/usr/local/lib'
                 cccdlflags='-Kpic'
                 lddlflags='-G -L/usr/local/lib'
             ;;
@@ -162,7 +162,7 @@ else
 
         ###############################################################
         # Force to define those symbols, as they are #defines and not
-        # catched by Configure, and they are useful
+        # caught by Configure, and they are useful
         d_dlopen='define'
         d_dlerror='define'
     fi
@@ -201,6 +201,15 @@ if test -f /usr/lib/libdbm.nfs.a ; then
 fi
 
 ###############################################################
+# At least for ORS5.0.2, prefer sprintf() over gcvt(), since gcvt()
+# used to cause a SIGFPE and a core dump when passed a NaN.
+# This may not be an issue in perl-5.8.x and later since we
+# try to trap SIGFPE.  However, preferring sprintf() should be
+# safe anyway, so let's go ahead and set it.  See the bugs database
+# item [perl #3100].   --A.D. 12/2004.
+       gconvert_preference='sprintf'
+
+###############################################################
 # We disable ODBM_File if OSR5 because it's mostly broken
 # but keep it for ODT3 as it seems to work.
 if test "$scorls" = "5"; then
@@ -235,7 +244,6 @@ nm_opt='-p'
 ###############################################################
 # Perl 5.003_05 and later try to include both <time.h> and <sys/select.h>
 # in pp_sys.c, but that fails due to a redefinition of struct timeval.
-# This will generate a WHOA THERE.  Accept the default.
 i_sysselct=$undef