cplusplus-th icon indicating copy to clipboard operation
cplusplus-th copied to clipboard

Builds the cbits twice

Open singpolyma opened this issue 10 years ago • 2 comments

This package builds the cbits once using the custom rule with clang++ and then cabal builds them again later with ghc (which is the version actually used in the library output).

singpolyma avatar Oct 08 '14 13:10 singpolyma

It could probably use the cabal ghc program, so the setup.hs C++ builds with the same ghc the rest of the project builds with (instead of clang++). Currently, with cabal, I have not found a work around in getting the object files other than seperatly compiling them. If you can think of a way that would be awesome.

mxswd avatar Oct 09 '14 13:10 mxswd

This is related to an issue I'm having with Cabal. I'll try to get a proposal of some kind together, maybe

singpolyma avatar Oct 09 '14 13:10 singpolyma