[GHC] #8040: installed include/HsVersions.h wants to #include "../includes/ghcautoconf.h"
GHC
ghc-devs at haskell.org
Sat Jul 6 20:01:14 CEST 2013
#8040: installed include/HsVersions.h wants to #include
"../includes/ghcautoconf.h"
-----------------------------+----------------------------------------------
Reporter: hvr | Owner:
Type: bug | Status: new
Priority: normal | Component: GHC API
Version: 7.6.3 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
The header file `${PREFIX}/lib/ghc-7.6.3/ghc-7.6.3/include/HsVersions.h`
of a GHC installation, contains the following `#include`
{{{
#!C
/* Pull in the autoconf defines (HAVE_FOO), but don't include
* ghcconfig.h, because that will include ghcplatform.h which has the
* wrong platform settings for the compiler (it has the platform
* settings for the target plat instead). */
#include "../includes/ghcautoconf.h"
}}}
however, there is no `../includes/` folder; the `ghcautoconf.h` does
actually exist, but is located in the same folder as `HsVersions.h`.
This makes it impossible to use `HsVersion.hs` without patching the GHC
installation.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/8040>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list