> It seems to me that the -i command line argument is ignored when used
> together with --make. GHC reports that the modules can't be found.
> Is there any way to use a library (lib*.a + *.hi files) that 
> is not compiled
> as a package with ghc --make?

Not at the moment, no.  If you have a library (without source), it must
be a package.  However, making a package spec is fairly easy, and you
can use a local package.conf file rather than installing the package
globally.

We may revisit this at some point - at the time we didn't anticipate it
being a problem, but you're not the first person to run into this.  It
should be possible to convince GHC internally that all "pre-compiled"
code belongs to one pseudo-package.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to