[xml] libxml2 2.6.10 links with libgcc_s.so



I am compiling libxml2 2.6.10 on Solaris 8 using gcc 3.1 with the following
configure options:

--without-html --without-ftp --with-zlib=no --with-iconv=no

My problem is that libxml2 is linking against the libgcc_s.so library in
/usr/local/lib, but I need to move the library to systems that do not have
gcc installed.

[libxml2]$ ldd .libs/libxml2.so.2.6.10
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1

Version 2.5.11 does not link against libgcc_s.so:

[libxml2]$ ldd .libs/libxml2.so.2.5.11
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1

How can I compile libxml2 2.6.10 without libgcc_so.so?

Thanks,
Daniel MacLaren




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]