On 10/02/2010 08:38, Axel Simon wrote: > > > I haven't touched windows in a while. Can you run c2hsLocal.exe > without any options? >
Thanks for the reply - it runs fine: $ ./tools/c2hs/c2hsLocal.exe -h C->Haskell Compiler, version 0.13.4 (gtk2hs branch) "Bin IO", 13 Nov 2004 Copyright (c) [1999..2004] Manuel M T Chakravarty This software is distributed under the terms of the GNU Public Licence. NO WARRANTY WHATSOEVER IS PROVIDED. See the details in the documentation. Usage: c2hs [ option... ] [header-file] binding-file -C CPPOPTS --cppopts=CPPOPTS pass CPPOPTS to the C preprocessor -c CPP --cpp=CPP use executable CPP to invoke C preprocessor -d TYPE --dump=TYPE dump internal information (for debugging) -h, -? --help brief help (the present message) -i INCLUDE --include=INCLUDE include paths for .chi files -k --keep keep pre-processed C header -o FILE --output=FILE output result to FILE (should end in .hs) -t PATH --output-dir=PATH place generated files in PATH -p FILE --precomp=FILE generate or read precompiled header file FILE -l NAME --lock=NAME wrap each foreign call with the function NAME -v --version show version information The header file must be a C header file matching the given binding file. The dump TYPE can be trace -- trace compiler phases genbind -- trace binding generation ctrav -- trace C declaration traversal chs -- dump the binding file (adds `.dump' to the name) > Cheers, > Axel. > >> >> >> $ ./tools/c2hs/c2hsLocal.exe +RTS -M256m -RTS -C-I/usr/include/cairo >> -C-I/usr/i >> nclude/pixman-1 -C-I/usr/include/freetype2 -C-I/usr/include/libpng12 >> --cppopts= >> '-include "gtk2hs-config.h"' --precomp=cairo/cairo.precomp >> cairo/cairo-gtk2hs.h >> >> Access is denied. >> c2hsLocal.exe: Error during preprocessing >> ------------------------------------------------------------------------------ >> >> >> SOLARIS 10 is the OS for Data Centers - provides features such as >> DTrace, >> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >> http://p.sf.net/sfu/solaris-dev2dev_______________________________________________ >> >> >> Gtk2hs-devel mailing list >> Gtk2hs-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel > ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel