Duncan Coutts wrote:
On Sat, 2008-02-02 at 22:33 +, Magnus Therning wrote:
Duncan Coutts wrote:
[..]
Just so I'm sure I understand...
Sure thing.
Or are you just trying to link some C code statically into a haskell
program, but it just so happens that this C code relies on being built
On Fri, 2008-02-01 at 11:42 +, Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ are interested in. There's something about it on
Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
Duncan Coutts wrote:
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ are interested in. There's something about it on the GHC dev
On Sat, 2008-02-02 at 18:15 +0100, Felix Martini wrote:
Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
Duncan Coutts wrote:
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ
Duncan Coutts wrote:
[..]
It would be reasonable to use the system C compiler rather than ghc,
however we will have to do more work to find what extra include dirs get
used and have Cabal pass those.
Currently we pass the -package flags to ghc which ghc uses to look up
what include dirs
On Sat, 2008-02-02 at 18:50 +, Magnus Therning wrote:
Duncan Coutts wrote:
[..]
It would be reasonable to use the system C compiler rather than ghc,
however we will have to do more work to find what extra include dirs get
used and have Cabal pass those.
Currently we pass the
Duncan Coutts wrote:
[..]
Just so I'm sure I understand...
Sure thing.
Or are you just trying to link some C code statically into a haskell
program, but it just so happens that this C code relies on being built
with MS's C compiler rather than gcc.
Yes, this is exactly it. I mean, I could
On Sat, 2008-02-02 at 22:33 +, Magnus Therning wrote:
Duncan Coutts wrote:
[..]
Just so I'm sure I understand...
Sure thing.
Or are you just trying to link some C code statically into a haskell
program, but it just so happens that this C code relies on being built
with MS's C
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
I've found the Wiki page on using Visual Studio to create a DLL, then
convert it to a .a file so that GHC can consume it. I'd rather skip
using Visual Studio to build things and just ship a