Sven Panne writes:
> Thomas Hoefer wrote:
> > I downloaded H/Direct as a source, adapted it to my settings and then
> > typed "make all". [...]
> > >ld: fatal: symbol `main' is multiply defined:
> > > (file mkNativeInfo.o and file
> > /usr/local/lib/libHSrts.a(main.o));
> > >ld: fatal: File processing errors. No output written to ihc
> >
> > I don't want to edit the sources, so perhaps you might help ;)
> >
> > Might it be enough to search for a 'new' file "libHSrts.a"?
>
> I ran into the same thing (and more) last week, but I mailed my patches
> only to Sigbjorn as I was sure nobody else would be interested in them.
> There was no answer yet, but here they are, unapproved, but at least it
> compiles...
>
Thanks for the feedback, I've changed the setup to hopefully fix these
build problems + implemented a bunch of new features, see
ftp://ftp.dcs.gla.ac.uk/pub/haskell/glasgow/hdirect/
for a new snapshot. No docs included yet, I'm afraid - documentation
for the IDL compiler is still in preparation.
I've also uploaded a new Green Card snapshot, which fixes a couple of
parser&lexer problems (thanks for reporting these too),
ftp://ftp.dcs.gla.ac.uk/pub/haskell/glasgow/green-card/
--Sigbjorn