public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: net_robber <net_robber@timectrl.net>
To: gcc-help@gcc.gnu.org
Subject: how could make gcc link static library default?
Date: Thu, 17 Oct 2013 03:40:00 -0000	[thread overview]
Message-ID: <CACdxSLm=7+1vPyQBHE7+xutvdxbz-SaHz37VsCtsc9=VmFvS-w@mail.gmail.com> (raw)

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?

             reply	other threads:[~2013-10-17  3:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17  3:40 net_robber [this message]
2013-10-17  4:21 ` Anandkumar, CB IN BLR STS
2013-10-17  4:38   ` Terry Guo
2013-10-17  5:06     ` Anandkumar, CB IN BLR STS
2013-10-17  5:48       ` Terry Guo
2013-10-17  6:39         ` net_robber
2013-10-17  6:52           ` Anandkumar, CB IN BLR STS
2013-10-17  6:58             ` net_robber
2013-10-17  9:04               ` Andrew Haley
2013-10-17  9:11                 ` net_robber
2013-10-17 10:42                   ` Andrew Haley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACdxSLm=7+1vPyQBHE7+xutvdxbz-SaHz37VsCtsc9=VmFvS-w@mail.gmail.com' \
    --to=net_robber@timectrl.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).