PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Alan Burlison <Alan dot Burlison at sun dot com>
Subject: Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x
Date: Oct 21 2003 2:00PM

*** hints/solaris_2.sh.orig	Tue Oct 21 12:17:27 2003
--- hints/solaris_2.sh	Tue Oct 21 12:17:48 2003
***************
*** 334,353 ****
  	fi
  fi
  
- # Check to see if the selected compiler and linker
- # support the -z ignore, -z lazyload and -z combreloc flags.
- echo "int main() { return(0); } " > try.c
- 	zflgs=''
- for zf in ignore lazyload combreloc; do
- 	if ${cc:-cc} -o try try.c -z $zf > /dev/null 2>&1; then
- 		zflgs="$zflgs -z $zf"
- 	fi
- done
- if test -n "$zflgs"; then
- 	ccdlflags="$ccdlflags $zflgs"
- 	lddlflags="$lddlflags -G $zflgs"
- fi
- 
  # as --version or ld --version might dump core.
  rm -f try try.c core
  EOCBU
--- 334,339 ----