[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QEMU System and User targets

From: Peter Maydell
Subject: Re: QEMU System and User targets
Date: Fri, 16 Jul 2021 16:37:32 +0100

On Fri, 16 Jul 2021 at 16:16, Kenneth Adam Miller
<kennethadammiller@gmail.com> wrote:
> When I go to build the qemu softmmu target the shared files - the i386_ss of 
> my arch - gives problems where the build system isn't specifying the include 
> headers for the compiler to find the surrounding headers that belong to 
> different parts of the qemu library. I was able to edit my own source only so 
> much before recursive header dependencies had included their own respective 
> qemu library components subdirectories, at which point the build fails with 
> cannot find header. I want to know, are these shared source set files not 
> supposed to include those qemu subcomponents? Or resolve a different way for 
> each target using #ifdef guards? I would think that this would be modularized 
> from within the qemu subcomponent library. And I think that configure and 
> meson are working together to generate the correct build commands to these 
> shared components. So I'm unsure what to do.

Upstream QEMU builds fine for me, so you'll need to be more
specific about what you're trying to do and how it fails.
The top level meson.build always includes the current source
directory and the top level include/ directory on the compiler
include path, which should be all you need.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]