
#7922: adding direct *.c -> object code (*.o/so/dylib) support to compilation driver ---------------------------------+------------------------------------------ Reporter: carter | Owner: Type: feature request | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.7 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: #7904 | ---------------------------------+------------------------------------------ Comment(by igloo): Hmm. If you run "./Setup build -v" then you should see Cabal running a command like {{{ /usr/bin/ghc [...] -optc-march=native [...] -c cbits/daft.c }}} I presume that that command fails, but that if you run {{{ /usr/bin/ghc [...] -optc-march=native -opta-march=native [...] -c cbits/daft.c }}} then compilation succeeds? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7922#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler