Re: mingw sysroot paths (and generalizing them)

2023-05-08 Thread Florian Weimer
* Daniel P. Berrangé: > Parallel install of different versions of mingw has never been > something we needed to consider. We only need parallel install > the different ABIs, which is handled by the higher level dir > in the path. So from that POV, I don't think mingw particularly > cares what sema

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread Kevin Kofler via devel
Florian Weimer wrote: > Is the /mingw/ part of the sysroot path, or is it within the sysroot? > Would I use --sysroot=/usr/x86_64-w64-mingw32/sys-root or > --sysroot=/usr/x86_64-w64-mingw32/sys-root/mingw to build against the > sysroot? > > I assumed the latter, but now I wonder if /mingw in the s

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread Florian Weimer
* Daniel P. Berrangé: > Then on the Meson side we define > > root = '/usr/i686-w64-mingw32/sys-root/mingw' > > in the /usr/share/mingw/toolchain-mingw32.meson spec, while with > configure we invoke > > configure \ > --host=i686-w64-mingw32 \ > --build=x86_64-redhat-linux-gnu \ >

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread David Michael
On Fri, Apr 28, 2023 at 9:13 AM Daniel P. Berrangé wrote: > On Fri, Apr 28, 2023 at 01:41:05PM +0100, Richard W.M. Jones wrote: > > On Fri, Apr 28, 2023 at 02:22:40PM +0200, Florian Weimer wrote: > > > Looking at > > > > > > Information for RPM mingw64-zlib-1.2.13-2.fc38.noarch.rpm > > >

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread Daniel P . Berrangé
On Fri, Apr 28, 2023 at 02:22:40PM +0200, Florian Weimer wrote: > Looking at > > Information for RPM mingw64-zlib-1.2.13-2.fc38.noarch.rpm > > > sysroot paths look like this: > > /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.d

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread Daniel P . Berrangé
On Fri, Apr 28, 2023 at 01:41:05PM +0100, Richard W.M. Jones wrote: > On Fri, Apr 28, 2023 at 02:22:40PM +0200, Florian Weimer wrote: > > Looking at > > > > Information for RPM mingw64-zlib-1.2.13-2.fc38.noarch.rpm > > > > > > sysro

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread Neal Gompa
On Fri, Apr 28, 2023 at 8:23 AM Florian Weimer wrote: > > Looking at > > Information for RPM mingw64-zlib-1.2.13-2.fc38.noarch.rpm > > > sysroot paths look like this: > > /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll > /us

Re: mingw sysroot paths (and generalizing them)

2023-04-28 Thread Richard W.M. Jones
On Fri, Apr 28, 2023 at 02:22:40PM +0200, Florian Weimer wrote: > Looking at > > Information for RPM mingw64-zlib-1.2.13-2.fc38.noarch.rpm > > > sysroot paths look like this: > > /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.d

mingw sysroot paths (and generalizing them)

2023-04-28 Thread Florian Weimer
Looking at Information for RPM mingw64-zlib-1.2.13-2.fc38.noarch.rpm sysroot paths look like this: /usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll /usr/x86_64-w64-mingw32/sys-root/mingw/include/zconf.h /usr/x86_64-w64-mi