Skip to content

Commit 1ee1468

Browse files
committed
Use local GHC includes
1 parent cab2072 commit 1ee1468

File tree

137 files changed

+6
-24386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+6
-24386
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
To compile with haskell-names do
2+
3+
cabal install --haskell-suite -w hs-gen-iface --gcc-option=-I/usr/lib/ghc/include --extra-include-dirs=/usr/lib/ghc/include --solver=topdown -f include-ghc-prim

base.cabal

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,9 @@ Library {
229229
cbits/primFloat.c
230230
cbits/md5.c
231231
cbits/sysconf.c
232-
if os(linux) {
233-
include-dirs: include ghc-7.6.2_includes_copy_linux32
234-
}
235-
if os(darwin) {
236-
include-dirs: include ghc-7.6.2_includes_copy_darwin
237-
}
232+
233+
include-dirs: include
234+
238235
includes: HsBase.h
239236
install-includes: HsBase.h HsBaseConfig.h EventConfig.h WCsubst.h consUtils.h Typeable.h OldTypeable.h
240237
if os(windows) {

0 commit comments

Comments
 (0)