Thanks again Alberto. I posed the questions some days ago in the Xalan list about a configuration for mingw.
I hacked the 1.8 version to compile and build for mingw but I have not done so with 1.9. My hacks are too dirty to be stable. I would also love some support in Xalan distro for this platform. Does here in Xerces do know something about this? Could not be that the configuration issues for both projects be more unified? jima -----Mensaje original----- De: Alberto Massari [mailto:[EMAIL PROTECTED] Enviado el: viernes, 10 de junio de 2005 2:38 Para: [email protected] Asunto: RE: Xerces 2.6 on mingw --- cvs At 12.46 09/06/2005 +0200, [EMAIL PROTECTED] wrote: >Alberto, > >thanks for the svn tip. > >I downloaded the release and compiled it apparently without problems with >mingw-msys. > >When I made make install it put in the corresponding lib directory a huge > >libxerces.a > >file. > >I somehow expected a little libxerces-c.dll file there. > >I guess this is cause we are taking about a developer's release (debug >"flaps" on) The current build script should create both static and shared libraries, but I still don't understand why it generates just the .a file. To get a stripped DLL I do the following cd obj mkdir temp cd temp ar x ../.libs/libxerces.a strip -g *.o g++ -shared *.o -o ../libxerces3_0.dll and this generates a 4.2 Mb DLL (using gcc 3.3.1/binutils 2.13, I read that gcc 3.4 should generate more compact code). >I tried to validate a document with a remote DTD with the DOMPrint.exe >sample program and at least it went out to the internet (I put there a bogus >address, so it failed). > >For me this is more than ok. > >Is there any specific test you would like me to do? I would love if someone expert in autoconf+mingw would discover how to write a makefile that also generates the DLL without manual postprocessing. Alberto >jima > > >-----Mensaje original----- >De: Alberto Massari [mailto:[EMAIL PROTECTED] >Enviado el: jueves, 09 de junio de 2005 0:10 >Para: [email protected] >Asunto: RE: Xerces 2.6 on mingw --- cvs > > >Jima, >CVS is no more used as the repository of the source code; if you want to >try the latest (unstable) bits, install a SubVersion client and point to >the repository >https://svn.apache.org/repos/asf/xerces/c/branches/jberry/3.0-unstable > >Alberto > >At 11.05 08/06/2005 +0200, [EMAIL PROTECTED] wrote: > >I have tried on top of an out of the box 2.6 version... > > > >perhaps I should try with the cvs version, > > > >I am doing > > > >cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login > >anoncvs > > > >cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co xml-xerces > > > > > >will this get me to the branch Alberto mentioned? > > > >I am eager to build the branch for mingw > > > > > >jima > > > > > >-----Mensaje original----- > >De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >Enviado el: mi�rcoles, 08 de junio de 2005 10:23 > >Para: [email protected] > >Asunto: RE: Xerces 2.6 on mingw > > > > > >Apparently no compilation for me... > > > >put the file Alberto send into the corresponding directory > > > >run > > > >./runConfigure -p mingw-msys -c gcc -x g++ -n socket > >make > > > >had error > > > >**** > >g++ -DMINGW -fexceptions -D__GNUWIN32__ -DWIN32 -D_WINDOWS -DNDEBUG -DPLATF >O > >RM_WIN32 -c -I/c/users/jimarin/projects/own/xp/xerces/include -w -O -DPROJ_ >X > MLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_ >D > >OM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_CYGWIN_TRANSCODER -DXM >L > >_USE_INMEM_MESSAGELOADER -mthreads -DXML_USE_NETACCESSOR_SOCKET -o > >/c/users/jimarin/projects/own/xp/xerces/obj/MINGW/UnixHTTPURLInputStream.o > > > >UnixHTTPURLInputStream.cpp > >UnixHTTPURLInputStream.cpp:113:24: sys/socket.h: No such file or directory > >UnixHTTPURLInputStream.cpp:115:26: netinet/in.h: No such file or directory > >UnixHTTPURLInputStream.cpp:116:25: arpa/inet.h: No such file or directory > >UnixHTTPURLInputStream.cpp:118:19: netdb.h: No such file or directory > >**** > > > >from what I understand I should not be compiling Socket dir but instead > >WinSock one > > > >any hidden flag I should use? > > > >I have > > > >**** > > > >export TRANSCODER="Cygwin" > >export MESSAGELOADER="INMEM" > >export NETACCESSOR="Socket" > >export THREADS="pthread" > >export BITSTOBUILD="32" > >export CC="gcc" > >export CXX="g++" > >export > >CXXFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4 >C > > -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_ >CY > >GWIN_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -mthreads -DXML_USE_NETACCESS >O > >R_SOCKET " > >export > >CFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4 > >C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_ >C > >YGWIN_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -mthreads -DXML_USE_NETACCES >S > >OR_SOCKET " > >export LDFLAGS=" " > >export LIBS=" -mthreads " > > > >**** > > > > > > > >jima > > > > > >-----Mensaje original----- > >De: Alberto Massari [mailto:[EMAIL PROTECTED] > >Enviado el: martes, 07 de junio de 2005 21:29 > >Para: [email protected] > >Asunto: Re: Xerces 2.6 on mingw > > > > > >Hi, > >if I remember correctly, I had problems compiling the winsock code, so > >there is no support for network access at the moment. In the current > >3.0-unstable branch it compiles (even if I didn't test it), so you can try > >integrating this version (from > >https://svn.apache.org/repos/asf/xerces/c/branches/jberry/3.0-unstable/src/ >x > >ercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp) > >and let us know. > > > >Alberto > > > >At 12.01 06/06/2005 +0200, [EMAIL PROTECTED] wrote: > > >Hi all, > > > > > >I have downloaded and installed Xerces 2.6 on a mingw platform. > > > > > >My problem is that I do not seem to be able to have ways of dealing with > >DTD > > >other than have then in files. Library seems not to be able to solve > > >references to DTDs on the internet. > > > > > >I suspect that some library or setting is lacking on the distro. > > > > > >Does anyone know what do I need to compile Xerces without this >restriction > > >on a mingw platform? > > > > > >Thanks in advance, > > > > > >jima > > >--- > > >Outgoing mail is certified Virus Free. > > >Checked by AVG anti-virus system (http://www.grisoft.com). > > >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > > > > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > >--- > >Incoming mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > >--- > >Incoming mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
