Hi Ian,

ian balanza-davis <[email protected]> writes:

> I have downloaded and built the xerces-c 3.1 source on msys/mingw 
> (gcc 4.4.0), and the resulting DLL is 47MB. The only option I used 
> was that given on the build instruction page (LDFLAGS=-no-undefined).

By default configure sets the gcc compiler options to include debug
information. Try something like this (optimization turned on, no debug
info):

./configure CFLAGS=-O3 CXXFLAGS=-O3 ...

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli

Reply via email to