all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 888ff3755d4 1/3: New function internal--c-header-file-path
Date: Tue, 07 Jan 2025 14:09:41 +0200	[thread overview]
Message-ID: <8634hu6d16.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmm7n564ti5oBiC+QL11wJ52G4DvDmyp3AnaVkKvEkC1sg@mail.gmail.com> (message from Stefan Kangas on Mon, 6 Jan 2025 15:44:34 -0600)

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Mon, 6 Jan 2025 15:44:34 -0600
> Cc: emacs-devel@gnu.org
> 
> > The way to ask GCC to show the list of directories where it looks for
> > header files is like this:
> >
> >    (call-process "gcc" nil BUFFER nil "-v" "-E" "-")
> >
> > and then look in BUFFER for text that begins with "#include <...>
> > search starts here:" and ends with "End of search list."  What's
> > in-between is the list of include directories, one directory per line,
> > which GCC searches for header file, in the order it searches them.
> 
> Thanks for helping improve this.  How about the attached patch?

LGTM, thanks.  But I agree with Björn that we should also try "cc".



      parent reply	other threads:[~2025-01-07 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 20:28 master 888ff3755d4 1/3: New function internal--c-header-file-path Eli Zaretskii
2025-01-06 20:40 ` Andreas Schwab
2025-01-06 21:45   ` Stefan Kangas
2025-01-06 21:44 ` Stefan Kangas
2025-01-07  9:57   ` Björn Bidar
2025-01-07 12:09   ` Eli Zaretskii [this message]

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=8634hu6d16.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stefankangas@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.