Re: [Synopsis-devel] Building on win32 without Cygwin
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
>I'm very open to enhancements to the build process, though right now I >don't have access to a windows machine to help to develop it. (that >will probably change in the coming weeks). > >Some people even suggested to switch away from make/autotools to >something else such as scons. I've tried scons. It seems pretty cool, but I'm not sure how well it replaces configure in terms of finding all the tools to use. >How did you compile the Cxx parser ? In particular, how did you link >with the python library ? I put the python23.dll in my mingw/lib directory, then added -lpython23 to LIBS in the makefile for the Cxx parser. you're supposed turn the python23.dll into libpython23.a like this (http://sebsauvage.net/python/mingw.html) but for some reason this worked for me. >Is the Cxx parser usable as a synopsis module ? Yes! in Cxx/emul.py, there is a path containing ~ that my system didnt like, but after removing that it worked fine, using synopsis.py -p Cxx -f HTML -o Paths path.h To be honest, I want to use your Cxx parser to make a test collector in python (http://www.c2.com/cgi/wiki?TestCollector). How do I call the parser directly from a python script? using Cxx.Parser.process, I'm not sure what to pass into as the parameter 'ast', or how to get the AST object out. Thanks! Mike