static (2)
Vadim Zeitlin
vadim at wxwidgets.org
Thu Dec 6 06:22:36 PST 2007
On Thu, 06 Dec 2007 10:01:35 +0100 Zorro <zorro at zoooooro.pl> wrote:
Z> >> I get that communicat:
Z> >>
Z> >> $ ../wx-config --cxxflags --libs --static=yes
Z> >>
Z> >> Warning: No config found to match: ../wx-config --cxxflags --libs
Z> >> --static=yes
Z> >> in /home/user/wxGTK-2.8.7/lib/wx/config
Z> >> If you require this configuration, please install the desired
Z> >> library build. If this is part of an automated configuration
Z> >> test and no other errors occur, you may safely ignore it.
Z> >> You may use wx-config --list to see all configs available in
Z> >> the default prefix.
Z> >>
Z> >>
Z> > This all means that you have wx shared,
Z>
Z> I compile it with options configure --enable-static
No, you didn't. Why not correct it instead of posting a useless reply?
Z> > Thus, if you wish a static build you will have to build wx itself using
Z> > the --disable-shared option to configure (along with any other
Z> > apprpriate configure options).
Z>
Z> ok. I try it.
Z> but why I can't use shared & static in this same compilations?
Because this would complicate the makefiles needlessly as they'd need to
create either one or two sets of object files and we don't think this is
necessary as it's easy enough to do 2 builds (in different directories) if
you need both static and shared versions of the libraries (which on its own
is rare enough).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list