[C2hs] c2hs on CygWin
Manuel M T Chakravarty
chak at cse.unsw.edu.au
Fri Apr 28 20:25:33 EDT 2006
Duncan Coutts:
> On Wed, 2006-04-12 at 16:40 -0500, Rich Fought wrote:
> > Hello,
> >
> > I'm trying to use c2hs on Cygwin to build hsgnutls and am running into some
> > problems.
> >
> > I get the following error:
> >
> > c2hs.exe: Error in C header file.
> >
> > /usr/include/sys/reent.h:182: (column 12) [FATAL]
> > >>> Syntax error!
> > The symbol '__attribute__' does not fit here.
> >
> > I see nothing like this in reent.h
> >
> > Any ideas/tips?
>
> Re-run your c2hs command and add this flag "--keep". Then send in the .i
> file that this command produces.
>
> By looking at this .i file it should be possible for a c2hs expert to
> identify the problem.
>
> (The file may well be quite large so it'd be helpful to compress it.)
As Duncan wrote it would be very helpful if you could provide that
information. Then, we can reproduce the problem much more easily.
Cheers,
Manuel
More information about the C2hs
mailing list