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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -