[C2hs] Problems with c2hs, including `__attribute__' symbol in _mingw.h

Vivian McPhail vivian.mcphail at paradise.net.nz
Mon Oct 2 02:01:07 EDT 2006


Hi,
 
running GHC 6.5.20060831, mingw
 
1) darcs repo error:
Patch 107 can't be applied.  Some problem with case-sensitivity.  Issue234
of darcs is a bugs report on case-sensitivity, and Heffalump on #darcs is
examining this problem.
 
Heffalump has created a repo that fixes this problem:  HYPERLINK
"http://urchin.earth.li/darcs/ganesh/c2hs"http://urchin.earth.-li/darcs/gane
sh/c2hs
 
2) ./Setup.hs install error:
 
$ ./Setup.hs install 
Installing: C:\Apps\MSYS\1.0\local\Haskell\c2hs-0.14.6\ghc-6.5.20060831 &
C:\Apps\MSYS\1.0\local\Haskell\bin c2hs-0.14.6...
'.' is not recognized as an internal or external command,
operable program or batch file.

Some problem with backslashes and windows.
 
I got around this problem by installing by hand.
 
3) syntax error
 
$ c2hs --cppopts=-I/c/Apps/MATLAB704/extern/include
--include=c:/Apps/MATLAB704/extern/include matrix.h MxMatrix.chs 
c2hs.exe: Generic fatal error.
 
C:/Apps/MSYS/1.0/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/floa
t.h:125: (column 8) [FATAL] 
  >>> Syntax error!
  The symbol `__attribute__' does not fit here.
 
Cheers,
 
Vivian

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date: 1/10/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/c2hs/attachments/20061002/6df6b100/attachment.htm


More information about the C2hs mailing list