ghc search paths (like CPATH for gcc)

Hello, is there a mechanism for ghc similar to setting the CPATH variable for gcc? I'd like ghc to look in the given list of paths every time it compiles something, without me having to retype the flags. For ghci there is .ghci, but it gets ignored when I run ghc. Best, Misha

On 19/10/2009 05:17, Misha Aizatulin wrote:
Hello,
is there a mechanism for ghc similar to setting the CPATH variable for gcc? I'd like ghc to look in the given list of paths every time it compiles something, without me having to retype the flags.
For ghci there is .ghci, but it gets ignored when I run ghc.
We don't have anything like that right now. Please submit a feature request: http://hackage.haskell.org/trac/ghc/newticket?type=feature+request (when hackage.haskell.org comes back up, that is) Cheers, Simon

Simon Marlow wrote:
On 19/10/2009 05:17, Misha Aizatulin wrote:
Hello,
is there a mechanism for ghc similar to setting the CPATH variable for gcc? I'd like ghc to look in the given list of paths every time it compiles something, without me having to retype the flags.
For ghci there is .ghci, but it gets ignored when I run ghc.
We don't have anything like that right now. Please submit a feature request:
Done: http://hackage.haskell.org/trac/ghc/ticket/3619 Misha
participants (2)
-
Misha Aizatulin
-
Simon Marlow