Charlie,

Thanks for your reply. Cygwin gcc has the -mno-cygwin switch to let
you build binaries without cygwin dependencies, mingw ones. Yes I am
able to build mingw binaries from mingw-msys just fine. However, they
have requested I illustrate how to build mingw binaries from within
cygwin. So this is why I'm engaging in that exercise. I added the
-minmem tag and got the same results.

Regards,

Justin Dearing



On 11/6/07, Charles McLouth <[EMAIL PROTECTED]> wrote:
> Likely ignorance on my part, but why do you need you need cygwin when you are
> building on the mingw platform?  When building with mingw the "platform" is
> actually Win32 (with some extra switches.)  Additionally, I would be concerned
> about using the Winsock netaccessor and Win32 transcoder when your intention 
> is
> not to use the Win32 platform.  I suspect that you will encounter many 
> problems.
> FWIW here are the runConfigure I have used to build Xerces 2.8 with mingw:
> runConfigure -p mingw-msys -c gcc -x g++ -m inmem -n winsock -t Win32
> runConfigure -p mingw-msys -d -c gcc -x g++ -m inmem -n winsock -t Win32
> runConfigure -p mingw-msys -s -c gcc -x g++ -m inmem -n winsock -t Win32
> runConfigure -p mingw-msys -d -s -c gcc -x g++ -m inmem -n winsock -t Win32
>
> While I had a few problems with Xerces 2.7, it built perfectly out of the box
> with 2.8
>
> When it comes to modifying build systems I'm quite a novice, so feel free to
> take my comments with a grain of salt.
>
> Best Regards,
>
> charlie
>
> Justin Dearing wrote:
> > Hello,
> >
> > I have offered to update the xerces docs regarding building with
> > mingw-msys and it was requested I document how to build a mingw
> > targeted xerces-c from cygwin. Unfortunately I am not having success
> > in doing that. My runconfigure looks like this:
> >
> > $ ./runConfigure -pmingw-msys -cgcc -xg++ -z-mno-cygwin -l-mno-cygwin
> > -nwinsock -tWin32
> >
> > and the failure during make is shown below.
> >
> >   (CP)  /tmp/xerces-c-src_2_8_0/include/xercesc/util/Platforms/Cygwin
> >   (C++) CygwinPlatformUtils.o
> > CygwinPlatformUtils.cpp:61:68: 
> > xercesc/util/Transcoders/Iconv/IconvTransService.
> > hpp: No such file or directory
> > CygwinPlatformUtils.cpp: In static member function `static 
> > xercesc_2_8::XMLTrans
> > Service* xercesc_2_8::XMLPlatformUtils::makeTransService()':
> > CygwinPlatformUtils.cpp:152: error: `IconvTransService' has not been 
> > declared
> > make[3]: *** [CygwinPlatformUtils.o] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [platforms] Error 2
> > make: *** [Util] Error 2
> >
> > gcc version is 3.4.4.
> >
> >
> > Can anyone let me know what I am doing wrong?
> >
> > Regards,
> >
> > Justin Dearing
>

Reply via email to