This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
how could make gcc link static library default?
- From: net_robber <net_robber at timectrl dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 17 Oct 2013 11:39:40 +0800
- Subject: how could make gcc link static library default?
- Authentication-results: sourceware.org; auth=none
hi,
i know a option -static to force gcc link static library, which will
ignore shared library.
but in my case, some library just have shared library.
so, is want gcc linlk static library first, then shared library if
static one was not found
how to do that?