This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using Sybase DLLs from Cygwin apps


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 _ct_xxx@y symbols
>with the corresponding _ct_xxx entries in the .a/.dll?
>
>Building sqsh without the __stdcall calling convention results in a
>successful link, but the actual calls into the library fails (obviously
>because the caller and callee don't use the same calling conventions.)
>
>Any ideas and suggestions would be appreciated.

Have you tried just linking directly to the DLL itself, i.e., use the DLL
on the command line.  This should work for non-data references.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]