logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Boekhold <boekh...@yahoo.com>
Subject Re: linking against static library of log4cxx
Date Tue, 03 Aug 2004 06:50:24 GMT

--- MichaŽl_CATANZARITI <mcatan@apache.org> wrote:

> g++ -o sample sample.cpp -Wl,--whole-archive,-llog4cxx,--no-whole-archive
> -llibxml2

Brilliant, that does it! Thanks Michael.

I'm not sure yet, but I suspect that eventually this program will be compiled
under Solaris with SUNWspro. Are you aware of a similar trick for
SUNWspro/Forte that links in the entire archive statically?


Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.

View raw message