cvs commit: hugs98 Makefile hugs98.spec

lewie 2002/08/26 22:59:04 PDT Modified files: . Makefile hugs98.spec Log: Check out fptools/libraries and run src/unix/convert_libraries (was just doing same on hslibs). Add `install_libraries_ffi' to install targets. Revision Changes Path 1.14 +2 -0 hugs98/Makefile 1.16 +1 -0 hugs98/hugs98.spec

On Mon, Aug 26, 2002 at 10:59:04PM -0700, Jeff Lewis wrote:
Modified files: . Makefile hugs98.spec Log: Check out fptools/libraries and run src/unix/convert_libraries (was just doing same on hslibs). Add `install_libraries_ffi' to install targets.
How about adding install :: install_libraries install :: install_oldlibs install_ffi :: install_libraries_ffi so the new ones (and stubs) are always available alongside the old?

How about adding ... so the new ones (and stubs) are always available alongside the old?
This reminds me: what are we going to use as the default path? We could use the old path (lib, lib/exts, lib/hugs) but then people don't see the new stuff. We could use the new path (libraries, oldlibs) but then runhugs doesn't work (it needs HugsDynamic). We could use both (libraries, oldlibs, lib, lib/exts, lib/hugs) but then a number of things report having duplicate instances for Int. (I think this comes from the Int module itself). I sort of lost track of what I was supposed to be using so I've been treating it as my problem up till now... A

On Wed, Aug 28, 2002 at 11:13:59AM +0100, Alastair Reid wrote:
This reminds me: what are we going to use as the default path?
We could use the old path (lib, lib/exts, lib/hugs) but then people don't see the new stuff.
We could use the new path (libraries, oldlibs) but then runhugs doesn't work (it needs HugsDynamic).
We could use both (libraries, oldlibs, lib, lib/exts, lib/hugs) but then a number of things report having duplicate instances for Int. (I think this comes from the Int module itself).
Yes, using both won't work (duplicate instances, ambiguous references). I use -P{Hugs}/libraries:{Hugs}/oldlib:{Hugs}/lib/hugs and that seems to provide both old and new interfaces. (In your example, lib/hugs/HugsDynamic brings in oldlib/IOExts, which is a wrapper around libraries stuff.) However I don't think this has had wide enough use to trust as the default in this release, so I'd suggest leaving the default path unchanged and mentioning this alternative in the documentation (but having both installed, so they can choose at run-time).
participants (3)
-
Alastair Reid
-
Jeff Lewis
-
Ross Paterson