public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Perry Smith <pedzsan@gmail.com>
Cc: gcc List <gcc@gcc.gnu.org>
Subject: Re: print out %D spec
Date: Sat, 25 Jan 2014 15:26:00 -0000	[thread overview]
Message-ID: <CAH6eHdQ5h+W-eOxN+fnnE0EOD=2aDPjakn8n9iQw8LLc2guhNw@mail.gmail.com> (raw)
In-Reply-To: <DFCDE247-C24C-43DC-A340-76EA11AE1928@gmail.com>

On Jan 25, 2014 1:32 AM, "Perry Smith" wrote:
>
> I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f.  gcc -dumpspecs shows me that link_libgcc goes to %D but it does not show me what %D produces.  Is there a way to get gcc to dump that out?
>
> Basically what I'm trying to do is find the list of library paths that GCC tells ld to use when it calls ld.

Adding -v to the gcc command will show everything it passes to the
linker, you should be able to deduce what comes from the specs from
that.

  reply	other threads:[~2014-01-25 12:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-25 12:39 Perry Smith
2014-01-25 15:26 ` Jonathan Wakely [this message]
2014-01-25 20:34   ` Perry Smith

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='CAH6eHdQ5h+W-eOxN+fnnE0EOD=2aDPjakn8n9iQw8LLc2guhNw@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=pedzsan@gmail.com \
    /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).