[TRE-general] cygwin problem
Ville Laurikari
ville at laurikari.net
Wed May 10 20:01:52 EEST 2006
On Thu, May 11, 2006 at 12:41:00AM +1000, skaller wrote:
> So, how to I enable mingw build?
> This is done from Cygwin with
>
> gcc -mnocygwin
>
> but i have no idea how it will find relevant libraries if any.
> I guess ./configure needs a --mingw option?
The point of the configure script is that it sets up everything
automatically. It detects the target system type (by default it's the
same as the host, but cross compilation is also supported) and does a
number of checks and tests to handle the quirks of the particular
system.
There is no need for a --mingw option.
I just built tre-0.7.3 on mingw. It suffers from the same problem as
Cywin, and you need to use --enable-static. This will be fixed in
0.7.4. Additionally, there is some problem with wide/multibyte
characters, and you also need to use --disable-wchar to turn it off.
With those two configuration flags tre-0.7.3 builds and the regression
test suite passes on mingw.
The wide char problem is strange. It works fine with Cygwin and
native Windows, and I don't really know what the difference could be.
In addition, the mingw debugger sucks pretty bad (for example, you
cannot get a backtrace from system functions to application code) and
makes debugging it so annoying I stopped after a while.
Unless I find out what the problem is, I may just have to completely
disable wide character support for mingw in 0.7.4.
--
http://www.iki.fi/vl/
More information about the TRE-general
mailing list