David Bertoni wrote:
> 
> You'll have much better luck getting the head of the Subversion 
> repository to compile cleanly on mingw.
> 

I cross-compiled Xerces 2.8.0, checked out Xalan revision 759804, and
started the process with:

./runConfigure -p mingw-msys -c mingw32-gcc -x mingw32-g++ -r none -z
-mno-cygwin -C --host=i686-mingw32

However, the build stopped with the following message:

 ../../../bin/MsgCreator: ../../../bin/MsgCreator: cannot execute binary
file

The command which built MsgCreator was:

mingw32-g++ -DMINGW  -Wl,--allow-multiple-definition
-DXALAN_INMEM_MSG_LOADER   \
         -lm    -L/tmp/xerces-c-src_2_8_0/lib -lxerces-c
../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o
../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o
../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o
../../../../bin/MsgCreator -L/tmp/xerces-c-src_2_8_0/lib -lxerces-c

It seems that MsgCreator is being cross compiled rather the being compiled
for the host system. Any hints as to how to proceed with the build?


-- 
View this message in context: 
http://www.nabble.com/Compiling-xalan-C%2B%2B1.10---xerces-2.8.0-with-mingw-tp19946057p22774778.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to