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
I think that a better default value of prefix on Windows would be: C:\Program Files\<package-name>-<package-version> e.g.: C:\Program Files\Foo-1.0
In particular, I think it is undesirable to have the name and version of the compiler embedded in the default prefixes.
Ok by me to add the package version. 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. Cheers, Simon
On 6/15/05, Simon Marlow <simonmar@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
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@microsoft.com <mailto:simonmar@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@haskell.org http://www.haskell.org/mailman/listinfo/libraries
Daan Leijen wrote:
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.
I second Daan's point, and of his two suggestions, prefer 1). A -- Andy Moran Phone: 503.626.6616 x113 Galois Connections Inc. Fax: 503.350.0833 12725 SW Millikan Way, Suite #290 http://www.galois.com Beaverton, OR 97005 moran@galois.com
On Wed, 2005-06-15 at 20:56 -0700, Daan Leijen wrote:
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.
I strongly reject Daan's point :-). The prefix should come from the registry, since that is the Windows way. "C:\Program Files" doesn't even exists on foreign-language Windows machines. And programs which assume they know that C: is the right (i.e. only) hard disk are a pain, since you can do a network install where only Registry entries are local. Axel.
participants (5)
-
Andy Moran -
Axel Simon -
Brian Smith -
Daan Leijen -
Simon Marlow