Closed dschoepe closed 7 years ago
the current readme refers to the current version, which does not require a separate linking step. please refer to the readme of the version you're using.
you're right that there is a broken reference though, i'll fix.
amended the readme in 30bf69fbd77796cc74016e630ce2f4718a282da6 .
The beginning of README.md mentions a "How to build" section. However, the section no longer exists in the README and using inline-c as is causes linker errors. It seems the section was removed in commit https://github.com/fpco/inline-c/commit/ffb1f9373cc4709d45fd66b6a6b3ce0ef64983c7.
The instructions there still work and fix the linking errors that occur for me otherwise. Is specifying
c-sources
etc. in the cabal file still required or should one handle this another way now?Here's a counter example that fails for me when following the current documentation:
I get the following error in a default stack project when running
stack build
without specifyingc-sources
: