more non-standard mingw trouble: math.h: No such file
igloo at earth.li
Tue Mar 10 18:21:22 EDT 2009
On Mon, Mar 09, 2009 at 03:45:41PM +0000, Simon Peyton-Jones wrote:
> | while trying some -fvia-C compilation with ghc-6.11.20090118,
> | (mingw/cygwin), I ran into
> | C:/ghc/ghc-6.11.20090118/include/Stg.h:51:18: math.h: No such file or directory
> | Since ghc's copy of gcc is non-standard (#1502), ghc has to tell gcc where
> | to find its includes. "ghc -v" reveals that the relevant path is passed to gcc with
> | a trailing slash, leading to gcc ignoring it
> Can we just fix this bug anyway? or is it tricky?
I've removed the trailing slash.
More information about the Cvs-ghc