Re: Using Sybase DLLs from Cygwin apps

2004-11-26 Thread Gerrit P. Haase
Michael Peppler wrote: Is there a way to direct the linker to match up the [EMAIL PROTECTED] symbols with the corresponding _ct_xxx entries in the .a/.dll? Have you tried the ld flag '--enable-stdcall-fixup'? Thanks, but a quick test doesn't appear to show any improvements. I'll try some more perm

Re: Using Sybase DLLs from Cygwin apps

2004-11-26 Thread Michael Peppler
On Fri, 2004-11-26 at 11:18, Gerrit P. Haase wrote: > Michael Peppler wrote: > > > [ Note - I'm a Unix/linux person and know very little about Windows ] > > > > I'm trying to build sqsh under Cygwin and I'm running into a problem > > with decorate vs. non-decorated library symbols. > > > > Sybas

Re: Using Sybase DLLs from Cygwin apps

2004-11-26 Thread Michael Peppler
On Fri, 2004-11-26 at 09:47, Maarten Boekhold wrote: > Jason Tishler wrote: > > > Why not use FreeTDS (http://www.freetds.org/) instead of the Sybase's > > Win32 libraries? IIRC, both sqsh and FreeTDS build OOTB under Cygwin. > > FWIW, I have used Cygwin sqsh/FreeTDS successfully with Microsoft S

Re: Using Sybase DLLs from Cygwin apps

2004-11-26 Thread Gerrit P. Haase
Michael Peppler wrote: [ Note - I'm a Unix/linux person and know very little about Windows ] I'm trying to build sqsh under Cygwin and I'm running into a problem with decorate vs. non-decorated library symbols. Sybase uses the __stdcall calling convention for its libraries under Windows, so gcc gen

Re: Using Sybase DLLs from Cygwin apps

2004-11-26 Thread Maarten Boekhold
Jason Tishler wrote: Why not use FreeTDS (http://www.freetds.org/) instead of the Sybase's Win32 libraries? IIRC, both sqsh and FreeTDS build OOTB under Cygwin. FWIW, I have used Cygwin sqsh/FreeTDS successfully with Microsoft SQL Server. However, YMMV with Sybase... For sqsh, FreeTDS works fine

Re: Using Sybase DLLs from Cygwin apps

2004-11-23 Thread Michael Peppler
On Tue, 2004-11-23 at 18:28, Christopher Faylor wrote: > On Tue, Nov 23, 2004 at 06:19:33PM +0100, Michael Peppler wrote: > >I'm trying to build sqsh under Cygwin and I'm running into a problem > >with decorate vs. non-decorated library symbols. > > > >Is there a way to direct the linker to match u

Re: Using Sybase DLLs from Cygwin apps

2004-11-23 Thread Jason Tishler
Michael, On Tue, Nov 23, 2004 at 06:19:33PM +0100, Michael Peppler wrote: > I'm trying to build sqsh under Cygwin and I'm running into a problem > with decorate vs. non-decorated library symbols. > > Sybase uses the __stdcall calling convention for its libraries under > Windows, so gcc generates

Re: Using Sybase DLLs from Cygwin apps

2004-11-23 Thread Christopher Faylor
On Tue, Nov 23, 2004 at 06:19:33PM +0100, Michael Peppler wrote: >I'm trying to build sqsh under Cygwin and I'm running into a problem >with decorate vs. non-decorated library symbols. > >Is there a way to direct the linker to match up the [EMAIL PROTECTED] symbols >with the corresponding _ct_xxx e

Using Sybase DLLs from Cygwin apps

2004-11-23 Thread Michael Peppler
[ Note - I'm a Unix/linux person and know very little about Windows ] I'm trying to build sqsh under Cygwin and I'm running into a problem with decorate vs. non-decorated library symbols. Sybase uses the __stdcall calling convention for its libraries under Windows, so gcc generates symbols like [