Harold Mills wrote:
> As Dave Korn and Brian Dessent both pointed out, my problem was that gcc was
> compiling Hello.c with the default cdecl calling convention, but the library
> I wanted to link to uses the stdcall convention. Adding __stdcall to the
> function declarations in the header file ec
On 13 June 2007 19:45, Harold Mills wrote:
> As Dave Korn and Brian Dessent both pointed out, my problem was that gcc was
> compiling Hello.c with the default cdecl calling convention, but the library
> I wanted to link to uses the stdcall convention. Adding __stdcall to the
> function declaration
As Dave Korn and Brian Dessent both pointed out, my problem was that gcc was
compiling Hello.c with the default cdecl calling convention, but the library
I wanted to link to uses the stdcall convention. Adding __stdcall to the
function declarations in the header file eci.h fixed the problem. Dave
s
Harold Mills wrote:
> I'm trying to use Cygwin's gcc to link a small test program (Hello.c)
> against a commercial DLL (ibmeci.lib), the source code for which I don't
> have. I followed the instructions at www.cygwin.com/cygwin-ug-net/dll.html
> to try to build a Cygwin-compatible import library:
On 12 June 2007 16:47, Harold Mills wrote:
> I get the ld error message "undefined reference to '_eciSpeakText'". The
> Hello.c program calls a function 'eciSpeakText'.
>
> What can I do to fix this?
> [EMAIL PROTECTED]
Run "info ld" and look for "--enable-stdcall-fixup".
cheers,
5 matches
Mail list logo