> Is there an easy way to get 'ghc' or one of the other 
> binaries to tell me 
> where the GHC installation directory is? I want to put the includes 
> directory in a gcc -I flag in my makefile.

On a Unix platform, the 'ghc' wrapper script contains the installation
directory, which is passed as an option to the ghc-5.02 binary proper.
On Windows platforms, there isn't a wrapper - ghc figures out the
install location from the location of its binary.

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.
But the usual way around this problem is to use 'ghc' as your C compiler
- then the -I flag gets injected automatically.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to