This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how could make gcc link static library default?


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]