Default prefix for Cabal on Windows

Daan Leijen daan at cs.uu.nl
Wed Jun 15 23:56:58 EDT 2005


I think that "c:\Program Files" is already too cluttered, maybe
we should use:

1) C:\Program Files\Haskell\<package-name>-<version>

or

2) C:\Haskell\<package-name>-<version>

where "Haskell" could also be "Packages" I guess.

-- Daan Leijen

Brian Smith wrote:
> On 6/15/05, *Simon Marlow* <simonmar at microsoft.com 
> <mailto:simonmar at microsoft.com>> wrote:
> 
>     On 15 June 2005 05:49, Brian Smith wrote:
> 
>      > The documentation states in Section 3.1 that the default value of
>      > "prefix" is "/usr/local" on Unix. However, it doesn't specify
>     what the
>      > prefix is on Windows. I found that the default value for prefix is:
>      >     C:\Program
>      > Files\<package-name>\<compiler-name>-<compiler-version>. For example,
>      > version 1.0 of a package named "Foo" compiled with GHC
>      > 6.5 would have a default prefix of:
>      >     C:\Program Files\Foo\ghc-6.5 
> 
> 
>     The compiler version is there to avoid conflicts in the case when you
>     have multiple versions of GHC installed and the package is installed for
>     each one.  However, I don't think we currently include the compiler &
>     version in the default $(libdir) on Unix, so whatever we do we should do
>     it consistently.
> 
> 
> Okay, that makes more sense to me. However, I think that executables 
> should go in  "C:\Program Files\<package-name>-<package-version>\bin," 
> not <C:\Program 
> Files\<package-name>\<compiler-name>-<compiler-version>\bin" as they do 
> currently.
> 
> - Brian
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries



More information about the Libraries mailing list