[Haskell-cafe] FFI, C/C++ and undefined references
Stephen Tetley
stephen.tetley at gmail.com
Thu Jan 14 15:24:47 EST 2010
Hello Daniel
On Windows, isn't stdcall vs ccall still dependent on the actual
library and what compiled it - commonly MSVC (stdcall) or gcc (ccall)
of course?
I could very easily be wrong...
Best wishes
Stephen
2010/1/14 Daniel Fischer <daniel.is.fischer at web.de>:
> Am Donnerstag 14 Januar 2010 20:42:42 schrieb DNM:
>
> Just an idea. Are you on windows?
> If so, then your foreign calls would probably have to be
>
> foreign import stdcall "srilm.h whatever" ...
>
> instead of
>
> foreign import ccall "..."
>
More information about the Haskell-Cafe
mailing list