Re: [spice-gtk 2/2] meson: mingw: add windows configuration

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

 



Hi

On Fri, Jan 18, 2019 at 3:08 PM Victor Toso <victortoso@xxxxxxxxxx> wrote:
>
> On Fri, Jan 18, 2019 at 02:42:24PM +0400, Marc-André Lureau wrote:
> > Hi
> >
> > On Fri, Jan 18, 2019 at 1:57 PM Victor Toso <victortoso@xxxxxxxxxx> wrote:
> > >
> > > From: Victor Toso <me@xxxxxxxxxxxxxx>
> > >
> > > Using fedora 29 mingw paths. Not hardcoding prefix but keeping a
> > > comment that should be added in case one would like to install over
> > > what they have in the system :)
> > >
> > > Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
> >
> > Not needed, F29 ships with its own meson mingw cross file and helper
> > mingw{32,64}-meson.
> >
> > See also "Drop autotools" .gitlab-ci diff.
>
>     | (mkdir buildw && cd buildw && mingw64-meson)
>
> Heh, thanks. I tried to use mingw64-meson several times before,
> did not work for me. If I create && enter the folder, it works
> indeed.
>
> As I use meson builddir, I was trying mingw64-meson buildwin
> without success.

yes, I had the same problem. I guess its worth opening a bug for
mingw-filesystem

> Cheers,
>
> > > ---
> > >  meson_mingw.txt | 18 ++++++++++++++++++
> > >  1 file changed, 18 insertions(+)
> > >  create mode 100644 meson_mingw.txt
> > >
> > > diff --git a/meson_mingw.txt b/meson_mingw.txt
> > > new file mode 100644
> > > index 0000000..8a088fc
> > > --- /dev/null
> > > +++ b/meson_mingw.txt
> > > @@ -0,0 +1,18 @@
> > > +# Options for installing in a Fedora 29
> > > +# meson win-build --cross-file meson_mingw.txt \
> > > +# -Dprefix=/usr/x86_64-w64-mingw32/sys-root/mingw \
> > > +# -Dlibdir=lib
> > > +
> > > +[binaries]
> > > +c = '/usr/bin/x86_64-w64-mingw32-gcc'
> > > +cpp = '/usr/bin/x86_64-w64-mingw32-g++'
> > > +ar = '/usr/bin/x86_64-w64-mingw32-ar'
> > > +strip = '/usr/bin/x86_64-w64-mingw32-strip'
> > > +pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
> > > +#exe_wrapper = 'wine' # A command used to run generated executables.
> > > +
> > > +[host_machine]
> > > +system = 'windows'
> > > +cpu_family = 'x86'
> > > +cpu = 'x86_64'
> > > +endian = 'little'
> > > --
> > > 2.20.1
> > >
> > > _______________________________________________
> > > Spice-devel mailing list
> > > Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> >
> >
> > --
> > Marc-André Lureau



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]