On 07/14/2010 03:21 PM, tek wrote:
$ ls -l usr/i686-pc-mingw32/lib/libxerces*
-rw-r--r-- 1 tek tek 35991560 Jul 14 14:53
usr/i686-pc-mingw32/lib/libxerces-c.a
-rwxr-xr-x 1 tek tek 1256 Jul 14 14:53
usr/i686-pc-mingw32/lib/libxerces-c.la
I did not test it yet, but at least, it seems a lot more correct now.
Everything works now (attached patch).
I tested it with:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/file/249a63832bc8/src/xerces-test.cpp
There was an "illegal instruction" deep inside the
XMLPlatformUtils::Initialize() call. It appeared to be that my target
CPU lacked support for SSE2 instruction set.
Thank you Volker for pointing me in the right direction. As far as I
understood it, it does not seem to be a problem in the
mingw-cross-env's xerces.mk file, but deeper into the Xerces build.
Please confirm, so I can report it to the Xerces maintainers.
Can someone confirm the /bin/sh issue by building Xerces with
mingw-cross-env under an up-to-date Debian distribution?
Here's how I fixed it:
$ cd /opt/mingw
$ sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh
$ rm usr/installed/xerces
$ make xerces
$ sudo rm /bin/sh && sudo ln -s /bin/dash /bin/sh
And why:
https://wiki.ubuntu.com/DashAsBinSh
Regards.