Re: Building on win32 without cygwin
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
Mike Lin wrote: > Hi, I'm trying to build Synopsis on win32 without Cygwin. Im using a > variety of win32 tools to do this, like mingw, pthread-win32 etc. My > problem is that in the setup.py it calls the configure scripts like this: > C:\development\msys\1.0\bin\sh.exe -c > "../../../../../../Synopsis/Parsers/Cxx/co > nfigure --with-python=`cygpath -a C:\\DEVELO~1\\Python23`/python.exe" > > Which doesnt work because i dont have cygpath. The idea was to require cygwin as the development environment, and then either build *for* cygwin (i.e. using cygwin as runtime environment, too), or native, i.e. use 'gcc -mno-cygwin' (or however the flag is called) to build something that can be run without any support libs from cygwin. 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. > Im not familiar enough > with distutils to fix this. I have succeded in compile the Cxx parser on > its own, but it would be nice to have the rest working. Any help would > be awesome! How did you compile the Cxx parser ? In particular, how did you link with the python library ? Is the Cxx parser usable as a synopsis module ? In any case, you may want to follow up in the issue tracker at http://synopsis.fresco.org/issues/bug19 Thanks, Stefan