Hi,
Is there a ghc flag that will let me include a file before "hc" is
involked?
for example, rather than do this:
#include "/projects/pacsoft/hardware/hawk/lib/hawk-macros.h"
module ROB(rob,ROB) where
import LazyST
import Hawk
.
.
.
.
I would like to have this:
module ROB(rob,ROB) where
import LazyST
import Hawk
.
.
.
.
and for GHC to add the #include statement before compiling the file.
I tried the "-#include" option, but that seems to be placing the #include
statement in the C generated by hc, not the input to hc. right?
byron