qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
To: mindentropy <mindentropy@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: Options to output the preprocessor code
Date: Mon, 30 Jun 2025 13:18:51 -0700	[thread overview]
Message-ID: <66852209-91e3-43a2-8d7a-51b31f843dca@linaro.org> (raw)
In-Reply-To: <CAM2a4uxrzRKrQsnaNXwQO208V4WExg+MvweKfRwF+_RgXrFqxw@mail.gmail.com>

On 6/30/25 12:23 PM, mindentropy wrote:
> On Tue, Jul 1, 2025 at 12:27 AM Pierrick Bouvier
> <pierrick.bouvier@linaro.org> wrote:
>>
>> You can get verbose command for building by using make V=1, or ninja -v,
>> depending which command you like to use.
>>
>> Then, you can get a preprocessed output by using '-E' gcc option.
>> Don't forget to remove -o option, emitting the object file (or replace
>> path).
> 
> Is there a Make rule to just generate the preprocessor output?

No, you need to find the command for the associated file you want, and 
manually add the -E parameter.


      reply	other threads:[~2025-06-30 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-28 10:18 Options to output the preprocessor code mindentropy
2025-06-30 18:57 ` Pierrick Bouvier
2025-06-30 19:23   ` mindentropy
2025-06-30 20:18     ` Pierrick Bouvier [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=66852209-91e3-43a2-8d7a-51b31f843dca@linaro.org \
    --to=pierrick.bouvier@linaro.org \
    --cc=mindentropy@gmail.com \
    --cc=qemu-devel@nongnu.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 NNTP newsgroup(s).