This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Bump version of Module::CoreList
[perl5.git] / hints / dcosx.sh
index 3b8a300..c1b0d0a 100644 (file)
@@ -21,7 +21,7 @@ libswanted="$*"
 # Here's another draft of the perl5/solaris/gcc sanity-checker. 
 
 case $PATH in
-*/usr/ucb*:/usr/bin:*|*/usr/ucb*:/usr/bin) cat <<END
+*/usr/ucb*:/usr/bin:*|*/usr/ucb*:/usr/bin) cat <<END >&2
 
 NOTE:  /usr/ucb/cc does not function properly.
 Remove /usr/ucb from your PATH.
@@ -37,7 +37,7 @@ esac
 case $? in
 0) ;;
 *)
-      cat <<END
+      cat <<END >&4
 
 NOTE: Your system does not have /dev/fd mounted.  If you want to
 be able to use set-uid scripts you must ask your system administrator
@@ -53,7 +53,7 @@ esac
 /usr/bin/ls /usr/lib/libucb* >/dev/null 2>&1
 case $? in
 0)
-      cat <<END
+      cat <<END >&4
 
 NOTE: libucb has been found in /usr/lib.  libucb should reside in
 /usr/ucblib.  You may have trouble while building Perl extensions.
@@ -70,7 +70,7 @@ if grep GNU make.vers > /dev/null 2>&1; then
     tmp=`/usr/bin/ksh -c "whence make"`
     case "`/usr/bin/ls -l $tmp`" in
     ??????s*)
-          cat <<END
+          cat <<END >&2
       
 NOTE: Your PATH points to GNU make, and your GNU make has the set-group-id
 bit set.  You must either rearrange your PATH to put /usr/ccs/bin before the
@@ -112,7 +112,7 @@ case "`${cc:-cc} -v 2>&1`" in
       case $verbose in
       */usr/ccs/bin/as*) ;;
       *)
-          cat <<END
+          cat <<END >&2
 
 NOTE: You are using GNU as(1).  GNU as(1) will not build Perl.
 You must arrange to use /usr/ccs/bin/as, perhaps by setting
@@ -126,7 +126,7 @@ END
       case $verbose in
       */usr/ccs/bin/ld*) ;;
       *)
-          cat <<END
+          cat <<END >&2
 
 NOTE: You are using GNU ld(1).  GNU ld(1) will not build Perl.
 You must arrange to use /usr/ccs/bin/ld, perhaps by setting
@@ -147,7 +147,7 @@ END
       # See if as(1) is GNU as(1).  GNU as(1) won't work for this job.
       case `as --version < /dev/null 2>&1` in
       *GNU*)
-              cat <<END
+              cat <<END >&2
 
 NOTE: You are using GNU as(1).  GNU as(1) will not build Perl.
 You must arrange to use /usr/ccs/bin, perhaps by adding it to the
@@ -160,7 +160,7 @@ END
       # See if ld(1) is GNU ld(1).  GNU ld(1) won't work for this job.
       case `ld --version < /dev/null 2>&1` in
       *GNU*)
-              cat <<END
+              cat <<END >&2
 
 NOTE: You are using GNU ld(1).  GNU ld(1) will not build Perl.
 You must arrange to use /usr/ccs/bin, perhaps by adding it to the
@@ -179,7 +179,7 @@ rm -f core
 # DC/OSx hides certain functions in a libc that looks dynamic but isn't
 # because of this we reinclude -lc when building dynamic extenstions
 libc='/usr/ccs/lib/libc.so'
-cccdlflags='-lc'
+lddlflags='-G -lc'
 
 # DC/OSx gets overenthusiastic with symbol removal when building dynamically
 ccdlflags='-Blargedynsym'