I am having difficulty using Greencard.
The Greencard package appears to be missing files and documentation.
For example, the build process requires Greencard.h, config.h, and
options.h, which come w/ the Hugs source and not the Greencard package.
The actual build process itself is also not well documented so please
correct me if I am wrong here...because this is not working:
1. Copy Stddis.gc and the .h files to your source directory
2. runhugs greencard -thugs Stddis.gc
3. Build a dll from the resulting C file
This is where I am getting stopped, because ld cannot find malloc and free
when I use ld from windows (using this command from the cygnus site)
> ld ${LIBS} -lgcc -o stddis.dll stddis.o -e _initModule --base-file stddis.base
(What is the corresponding command for ld on linux?)
4. do 1-3 for the haskell files that actually call C functions
Is there more clear documentation or a more useful package somewhere...
alternatively, what am I doing wrong?
-Alex-
___________________________________________________________________
S. Alexander Jacobson i2x Media
1-212-697-0184 voice 1-212-697-1427 fax