qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
To: mindentropy <mindentropy@gmail.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: Options to output the preprocessor code
Date: Mon, 30 Jun 2025 11:57:52 -0700	[thread overview]
Message-ID: <81d022a7-fdf7-4a03-9a3b-cb2635c96cda@linaro.org> (raw)
In-Reply-To: <CAM2a4uyBMNSdKNtJWWTgNivj6dpDFzJJepkfpU5RN-wir9vQEQ@mail.gmail.com>

Hi Gautam,

On 6/28/25 3:18 AM, mindentropy wrote:
> Hi,
> 
> Is there an option to generate preprocessor output while building the
> QEMU code? It makes it easier to understand some of the macro template
> function generation.
> 
> -Gautam.
> 

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).

Regards,
Pierrick


  reply	other threads:[~2025-06-30 18:58 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 [this message]
2025-06-30 19:23   ` mindentropy
2025-06-30 20:18     ` Pierrick Bouvier

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=81d022a7-fdf7-4a03-9a3b-cb2635c96cda@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).