Re: [Mingw-w64-public] [PATCH 07/18] winpthreads: Fix TLS thread callback initializers on MSVC x64

2023-11-30 Thread Martin Storsjö
On Thu, 30 Nov 2023, Antonin Décimo wrote: The literature online uses `data_seg` on x86 and `const_seg` on x64. In my tests, using `const_seg` worked on all arches (x86, x64, arm, arm64). Hmm, that does indeed seem to be the case - I can confirm this. We can use `#pragma section` and `__decl

Re: [Mingw-w64-public] cannot execute ./configure

2023-11-30 Thread David Grayson
The MinGW-w64 project only provides the software needed to make a GCC toolchain on Windows. Since you are trying to execute "configure", which is a shell script, you need to get a shell like Bash running on your computer, and that is outside of the scope of the MinGW project. I recommend ignoring

[Mingw-w64-public] cannot execute ./configure

2023-11-30 Thread Frère Justin - Jérusalem
Hi there... I installed mingw64 for windows a year ago or so. I'm trying to install a library for unix. I have downloaded the source file and uncompressed it; in order to finalize the installation, I mut run ./configure (I guess from the mingw64 directory) but then I get the following error message

Re: [Mingw-w64-public] [PATCH 14/18] winpthreads: AC_PROG_RANLIB is obsoleted by LT_INIT

2023-11-30 Thread LIU Hao
在 2023/11/30 18:54, Antonin Décimo 写道: Are you sure it's a good idea? Isn't it better if the two files are kept in sync? It's less confusing during the occasional bisect. In OCaml, we even have continuous integration testing that configure is regenerated on configure.ac changes. Changes to gene

Re: [Mingw-w64-public] [PATCH 07/18] winpthreads: Fix TLS thread callback initializers on MSVC x64

2023-11-30 Thread Antonin Décimo
Le jeu. 30 nov. 2023 à 14:20, Martin Storsjö a écrit : > > On Wed, 29 Nov 2023, Martin Storsjö wrote: > > >> and related code in Chromium [2]. > >> The first doesn't mention ARM, but both use const_seg on 64-bits > >> arches and data_seg on 32 bits. > > > > I wouldn't really take that as an author

Re: [Mingw-w64-public] [PATCH 07/18] winpthreads: Fix TLS thread callback initializers on MSVC x64

2023-11-30 Thread Martin Storsjö
On Wed, 29 Nov 2023, Martin Storsjö wrote: and related code in Chromium [2]. The first doesn't mention ARM, but both use const_seg on 64-bits arches and data_seg on 32 bits. I wouldn't really take that as an authority for this matter here - I would expect this to be a similar historical mista

Re: [Mingw-w64-public] [PATCH 14/18] winpthreads: AC_PROG_RANLIB is obsoleted by LT_INIT

2023-11-30 Thread Antonin Décimo
Le jeu. 30 nov. 2023 à 08:11, JonY via Mingw-w64-public a écrit : > > On 11/29/23 10:39, Antonin Décimo wrote: > > Fixes a warning from libtoolize: 'AC_PROG_RANLIB' is rendered obsolete > > by 'LT_INIT'. > > > > Signed-off-by: Antonin Décimo > > --- > > mingw-w64-libraries/winpthreads/configure