cvs commit: hugs98/src Makefile.in MkInstal.in hugs.c runhugs.c
Ross Paterson
ross@soi.city.ac.uk
Fri, 9 Aug 2002 19:45:36 +1000
On Thu, Aug 08, 2002 at 04:35:48PM -0700, Alastair Reid wrote:
> Typical usage:
>
> ./ffihugs -P'{Hugs}/libraries:{Hugs}/lib/hugs:{Hugs}/lib/exts' +G +L"errno.c" Foreign.C.Error
>
> [...]
>
> - Note that you need lib/hugs and lib/exts on the search path.
> This is to let us load HugsDynamic (which loads IOExts) which
> hasn't made it into the hierarchial libs.
It might be better to use
-P'{Hugs}/libraries:{Hugs}/oldlib:{Hugs}/lib/hugs'
That way HugsDynamic gets the IOExts from oldlib. Putting both libraries
and lib/exts on the search path will get you an ambiguous reference
sooner or later.