{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreideizznw7fas73jhge72xqoywck7ynrf3n5qmif3rinqq7ta5eecy",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mjp2fckfvgs2"
  },
  "path": "/t/modern-haskell-c-translation-approaches/13941#post_2",
  "publishedAt": "2026-04-17T12:19:04.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "GHC’s “unregisterised” C backend should still work. However, you don’t pass `-fvia-C` option to GHC – GHC itself needs to be built for the C backend. This means, you need to build GHC yourself.\n\nThe `-fvia-C` option was used for the “registerised” C backend that existed on GHC <= 7.0.\n\nIf the compatibility with GHC is not important, you might want to try MicroHs, which bootstraps with a C compiler according to its document.",
  "title": "Modern Haskell → C translation approaches?"
}