Arrrgh. This is a Cygwin induced bogosity. The STGHUGSPATH is
used for two different things: finding the Prelude, which is then
read via fread et al, supplied by Cygwin, so forward slashes there
are ok. But it is also used to find nHandle.dll, and that path is
processed by a native Windows thingy (LoadLibrary), so it has to
have backslashes in. I think that's the explaination.
Will consider. I presume you're ok using the \\ form for the
time being?
Thx for the report.
J
| Greetings-
| I've installed STG Hugs on a Windows NT machine and have
| noticed something that
| may give other users some problems. I've installed cygwin
| (correctly, I think),
| but hugs doesn't seem to correctly process the pathnames.
| Here is the setup:
|
| cygwin is in c:\local\cygwin
| hugs is in c:\local\cygwin\usr\local\lib\stghugs
| cygwin1.dll is in c:\local\cygwin\usr\bin
|
| After I setup cygwin, I can get to the hugs directory (in
| bash) by either:
| cd /usr/local/lib/stghugs
| or
| cd /cygdrive/c/local/cygwin/usr/local/lib/stghugs
|
| But, if I set STGHUGSDIR to either one of these values, hugs
| finds the prelude,
| but fails to load nHandle.dll
|
| Setting STGHUGSDIR to the windows equivalent, e.g.
| export STGHUGSDIR=\\local\\cygwin\\usr\\local\\lib\\stghugs
| cures the problem.
| Thanks-
| Brett
|
|
|