From: Jarkko Hietaniemi Date: Wed, 30 Aug 2000 13:30:13 +0000 (+0000) Subject: Put back the slice accidentally removed by #6907. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc1ad33168dad61eed9029d25ff2214e8d8845ce;p=p5sagit%2Fp5-mst-13.2.git Put back the slice accidentally removed by #6907. p4raw-id: //depot/perl@6911 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 8450cda..f698a50 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -1,3 +1,37 @@ +# hints/solaris_2.sh +# Last modified: Tue Apr 13 13:12:49 EDT 1999 +# Andy Dougherty +# Based on input from lots of folks, especially +# Dean Roehrich + +# If perl fails tests that involve dynamic loading of extensions, and +# you are using gcc, be sure that you are NOT using GNU as and ld. One +# way to do that is to invoke Configure with +# +# sh Configure -Dcc='gcc -B/usr/ccs/bin/' +# +# (Note that the trailing slash is *required*.) +# gcc will occasionally emit warnings about "unused prefix", but +# these ought to be harmless. See below for more details. + +# See man vfork. +usevfork=false + +d_suidsafe=define + +# Avoid all libraries in /usr/ucblib. +set `echo $glibpth | sed -e 's@/usr/ucblib@@'` +glibpth="$*" + +# Remove bad libraries. -lucb contains incompatible routines. +# -lld doesn't do anything useful. +# -lmalloc can cause a problem with GNU CC & Solaris. Specifically, +# libmalloc.a may allocate memory that is only 4 byte aligned, but +# GNU CC on the Sparc assumes that doubles are 8 byte aligned. +# Thanks to Hallvard B. Furuseth +set `echo " $libswanted " | sed -e 's@ ld @ @' -e 's@ malloc @ @' -e 's@ ucb @ @'` +libswanted="$*" + # Look for architecture name. We want to suggest a useful default. case "$archname" in '')