qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: luoyonggang@gmail.com, Gerd Hoffmann <kraxel@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: meson: problems building under msys2/mingw-w64 native
Date: Thu, 27 Aug 2020 17:07:45 +0100	[thread overview]
Message-ID: <61c85960-475a-a55b-bfff-c55c20e55c66@ilande.co.uk> (raw)
In-Reply-To: <CABgObfbW9b9StcYAN+uR-tsj123OPKW2qwoSR-k9+8q1XkNCSw@mail.gmail.com>

On 26/08/2020 16:34, Paolo Bonzini wrote:

> On Wed, Aug 26, 2020 at 12:15 AM Mark Cave-Ayland
> <mark.cave-ayland@ilande.co.uk> wrote:
>> ...
>> -rw-r--r-- 1 Mark None    39424 Aug 25 20:43 vgabios-stdvga.bin
>> -rw-r--r-- 1 Mark None    39424 Aug 25 20:43 vgabios-virtio.bin
>> -rw-r--r-- 1 Mark None    39424 Aug 25 20:43 vgabios-vmware.bin
>>
>>
>> I would expect the majority of these files to be in share/ or bin/ subdirectories as
>> they are in Linux.
> 
> This has always been different between Windows and Linux:
> 
> if test "$mingw32" = "yes" ; then
>     mandir="$prefix"
>     datadir="$prefix"
>     qemu_docdir="$prefix"
>     bindir="$prefix"
>     sysconfdir="$prefix"
>     local_statedir=
> else
>     mandir="${mandir:-$prefix/share/man}"
>     datadir="${datadir:-$prefix/share}"
>     qemu_docdir="${qemu_docdir:-$prefix/share/doc/qemu}"
>     bindir="${bindir:-$prefix/bin}"
>     sysconfdir="${sysconfdir:-$prefix/etc}"
>     local_statedir="${local_statedir:-$prefix/var}"
> fi
> 
> See also how os_find_datadir() is different between Windows and POSIX.
> I plan to fix this mess (and incidentally the pre_prefix hack) in 5.2
> by making the installation relocatable.

Ah so a long standing bug and not a regression - I can still test the builds so happy
to leave this for now and let you follow up with the relocation work later.


ATB,

Mark.


  reply	other threads:[~2020-08-27 16:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 11:05 meson: problems building under msys2/mingw-w64 native Mark Cave-Ayland
2020-08-24 11:37 ` Gerd Hoffmann
2020-08-25  7:51   ` Mark Cave-Ayland
2020-08-25  7:54     ` Paolo Bonzini
2020-08-25  8:24       ` 罗勇刚(Yonggang Luo)
2020-08-25  8:34         ` Paolo Bonzini
2020-08-25  8:37           ` 罗勇刚(Yonggang Luo)
2020-08-25 22:14           ` Mark Cave-Ayland
2020-08-26 15:34             ` Paolo Bonzini
2020-08-27 16:07               ` Mark Cave-Ayland [this message]
2020-08-24 13:18 ` Paolo Bonzini
2020-08-24 20:26   ` Mark Cave-Ayland
2020-08-25  7:49     ` Paolo Bonzini

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=61c85960-475a-a55b-bfff-c55c20e55c66@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=kraxel@redhat.com \
    --cc=luoyonggang@gmail.com \
    --cc=pbonzini@redhat.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).