I've just tried to install the latest version of Greencard
(I want to interface Hugs to mSQL -- a lightweight database server).

The installation instructions say:

>Compilation and install instructions for Green Card:
>====================================================
>
>0. Set the FOR_SYSTEM variable to point to one of
>   ghc, nhc or hugs, depending on what system you're
>   building for.

So, I set it to hugs.

>1. If using GHC (or NHC?), set the HC Makefile variable
>   in the toplevel Makefile to point to it. (*)

I'm using hugs, so I don't need to do this...

>3. `make all'

Lots of errors!  Mostly about not finding /path/to/ghc
Reading the Makefiles etc, it seems that I cannot build
greencard without installing ghc?  (Setting HC to point to 
Hugs does not look like it will work, because the Makefile
expects to use HC as a UNIX-like compiler, with -c and -o flags).

Since Hugs is an interpreter, I thought that I might be
able to run green-card immediately, without compilation?
But this does not seem possible either, because there is
no program/script called green-card.

So, is there any way of using Greencard with Hugs?

Thanks in advance for any help!
Mark.

Dr Mark Utting, Senior Lecturer
Department of Computer Science
School of Computing and Mathematical Sciences
The University of Waikato       Tel:   +64 7 838 4791
Private Bag 3105                Fax:   +64 7 838 4155
Hamilton                        Email: [EMAIL PROTECTED]
New Zealand                     Web:   http://www.cs.waikato.ac.nz/~marku

The highest bandwidth output from a human is the notes pouring
from a concert pianist's fingers.

Reply via email to