[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Install multiple forks of QEMU
From: |
Stephen Bates |
Subject: |
Re: [Qemu-discuss] Install multiple forks of QEMU |
Date: |
Mon, 12 Sep 2016 14:44:44 -0600 |
Hi All
Thanks for the replies. The --prefix solution worked a treat. I now have
upstream, NVMe and RISCV forks installed and can switch between them or even
run them concurrently.
Cheers
Stephen
> On Sep 8, 2016, at 2:57 PM, Peter Maydell <address@hidden> wrote:
>
>> On 8 September 2016 at 13:32, Donald R Laster Jr <address@hidden> wrote:
>> Stephen,
>>
>> When building the various software packages use the following configuration
>> --prefix like this:
>>
>> --prefix=/opt/qemu/qemu-${VARIANT}
>
> If you're just doing local testing (where running QEMU
> from the command line is sufficient) you can also just
> build the various configs in different build directories[*]
> and run them directly from the build directory without
> installing them at all.
>
> [*] that is,
> mkdir -p build/foo && cd build/foo && ../../configure [options]
> will configure for an out-of-tree build, which you then
> build with 'make -C build/foo'. This is usually a better
> idea than running configure and building directly in the
> root of the QEMU source tree anyway, but it's particularly
> handy if you're building more than one configuration.
>
> thanks
> -- PMM