haskell - C Header Files and ABI -
i'd know how c header files , abis relate. sizes of various types architecture , compiler-dependent. how can 1 reliably link c library?
for more specific problem: when using haskell's ffi, 1 uses haskell types cdouble
define (duplicate definition of) c library interface. don't know binary type size information coming from. trick making linking work?
please see link https://code.google.com/p/tabi
it may avoid difficulties possible abi differences between haskell , c.
Comments
Post a Comment