25 Oct
2001
25 Oct
'01
4:56 p.m.
At 2001-10-25 03:01, Simon Marlow wrote:
I've wondered at various times in the past whether there ought to be a link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes.
Won't help, my GHC is installed at /usr/lib/ghc-5.02/, exactly where the Debian package put it. And now that location is hard-coded in my Makefile.
But the usual way around this problem is to use 'ghc' as your C compiler - then the -I flag gets injected automatically.
GHC didn't seem to want to compile my .cpp file -- instead it quietly and successfully did nothing.
Yes, I guess GHC should really understand C++ file suffixes.
Also I had to do this:
extern "C" { #include "Rts.h" }
Thanks, I'll look into fixing that. Cheers, Simon
8842
Age (days ago)
8842
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow