Re: QSource-Highlight 0.2

Matthias Pospiech <[email protected]> Tue, 17 Nov 2009 14:13:44 +0100
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
Lorenzo Bettini schrieb:
> Matthias Pospiech wrote:
>> Lorenzo Bettini schrieb:
>>>
>>>
>>> actually they're both platform independent; it's true that they rely 
>>> on a unix-like system for building, but in windows you have both 
>>> cygwin and mingw/msys for that.  Indeed there's a windows build of 
>>> source-highlight that I did with mingw: 
>>> http://www.lorenzobettini.it/software/source-highlight/
>>>
>> Actually I want to build it on my own. I need a mingw build 
>> compatible with the mingw Version of Qt 4.5 and a Visual Studio build 
>> for Version 2005, 2008 and soon 2010.
>>
>> So what I really need is a solution to build the libary on windows on 
>> my own.
>> What I do not understand in the first place is how I run the 
>> configure script without sh.
>>
>
> Hi Matthias
>
> if you want to build it yourself then you also need a shell to run 
> configure, and if you use mingw you'd need msys (which provides a 
> shell and other tools); but to build source-highlight you also need 
> the boost library for mingw.
>
> Thus, if you haven't already setup such an environment mingw/msys it 
> might take some time.
>
I was trying to set up a system with msys, but did not have success so 
far. However what bothers me most is the compilation with msvc.
The only build step I could find is this one: 
http://folti.blogs.balabit.com/2009/08/compiling-autoconfmake-using-sources.html
which is really a way to fight around all problems of autoconf on 
non.unix platform issues and not a clean solution.

I wonder how difficult building of source-highlight really is. I think 
putting all cpp+h files in a qmake project costs me only a few minutes. 
Only the boost libary might be a problem since it does not build as a 
shared libary on mingw.

Matthias