I use gcc 4.4 from mingw. I noticed that strip helps a lot since symbols
are included by default. Try to use "strip libxerces-c-3-1.dll".
Probably there is a way to pass -s option of ld through -Wl,-s to strip
all symbols by default.
Mikhail
Boris Kolpackov wrote:
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