[C2hs] c2hs on CygWin
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Sat Apr 22 20:41:10 EDT 2006
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.)
Duncan
More information about the C2hs
mailing list