summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-01 05:42:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-01 05:42:25 +0000
commit282f2f4cb1c4ceabdaa0bc32b022e560d95482da (patch)
tree23b078ff78a0f2da7d981d8b1a4a9cd5bfaa89e1 /hints
parent73b309ea0370472c1b800c9275b2e0d497af6cb3 (diff)
downloadperl-282f2f4cb1c4ceabdaa0bc32b022e560d95482da.tar.gz
The 64-bitallness does require the /usr/lib/sparcv9 in loclibpth.
p4raw-id: //depot/cfgperl@5391
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh22
1 files changed, 12 insertions, 10 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index a52c88f362..954af6a418 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -368,6 +368,17 @@ cat > UU/use64bitall.cbu <<'EOCBU'
# after it has prompted the user for whether to be maximally 64 bitty.
case "$use64bitall" in
"$define"|true|[yY]*)
+ libc='/usr/lib/sparcv9/libc.so'
+ if test ! -f $libc; then
+ cat <<EOM
+
+I do not see the 64-bit libc, $libc.
+Cannot continue, aborting.
+
+EOM
+ exit 1
+ fi
+ loclibpth="$loclibpth /usr/lib/sparcv9"
case "$cc -v 2>/dev/null" in
*gcc*)
# I don't know what are the flags to make gcc sparcv9-aware,
@@ -380,18 +391,9 @@ case "$use64bitall" in
ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
ldflags="$ldflags `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
+ test -d /opt/SUNWspro/lib && loclibpth="$loclibpth /opt/SUNWspro/lib"
;;
esac
- libc='/usr/lib/sparcv9/libc.so'
- if test ! -f $libc; then
- cat <<EOM
-
-I do not see the 64-bit libc, $libc.
-Cannot continue, aborting.
-
-EOM
- exit 1
- fi
libscheck='case "`/usr/bin/file $xxx`" in
*64-bit*|*SPARCV9*) ;;
*) xxx=/no/64-bit$xxx ;;