howto compile bin with my library using all-static and shared linked standart library
hi.
i start coding for linux about month ago. and i have one problem:
i create project with main binnary and several libraries. i use -all-static to link binnary with libraries to one big binnary. but i have to add some external libraries (GL,GLU,X11) to work with x11 and opengl. kdevelop don't want to compile my project any more (there was many 'unresolved external')
Ok then i turn -all-static off - and project was successfully compiled but all my libraries become dynamic too and i dont want it.
Any suggestions how to build-in my libraries and use dynamic standart libraries
|