Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: OT: looking for a sample makefile for shared library of ESP in
Date: Sep 21 2004 2:36PM
On Tue, 2004-09-21 at 16:25, Lin, Arthur wrote:
> My shared library of ESPs currently is working perfectly with
> XP Server/18.104.22.168/P/SWR 10044 ESD 2/Sun_svr4/OS 5.6/1789/32bit/OPT/Mon
> Feb 4 17:28:25 2002
> We are going to upgrade our ASE 12.0 to ASE 12.5 so
> I would like to compile my shared library of ESPs into 64-bit.
> Here is my new xpserver :
> XP Server/12.5.2/EBF 11791/P/Sun_svr4/OS 5.8/ase1252/1831/64-bit/OPT/Fri
> Apr 9 04:33:45 2004
> And my compiler is Sun WorkShop 6.2.
I don't have a working Makefile, but for sybperl/DBD::Sybase the only
difference when building in 64bit mode is:
Add -DSYB_LP64 to CPPFLAGS or CFLAGS
Change any -l(sybase library) to -l(sybase library)64
There may be a flag that you need to pass to the C compiler to generate
64bit code. If so it should be pretty easy to find in the compiler
Michael Peppler Data Migrations, Inc.
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html