Re: [Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread Vincent Torri
On Fri, Jan 24, 2020 at 7:31 AM Ruben Van Boxem In my eyes, your CMakeLists.txt shouldn't contain a hardcoded Unix path > such as /tmp. Instead it should e.g. check if it exists and accept a > parameter from the command line to overwrite this using an option. In this > case, it is much more conven

Re: [Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread Ruben Van Boxem
Op vr 24 jan. 2020 00:30 schreef David Mathog : > On 2020-01-23 15:08, David Grayson wrote: > > Since CMake in MSYS2 is a native Windows program, if you ask it to make > > /tmp, I expect it will make C:/tmp. Did that happen? > > Good call, that is exactly what happened! > > This is a problem (esp

Re: [Mingw-w64-public] Threading; thread groups and 64 core threshold

2020-01-23 Thread Malcolm MacLeod
On Mon, 2020-01-20 at 22:47 +0800, Liu Hao wrote: > > Sorry for the diction and misunderstanding. It will be really nice of > you if you contribute, and we will appreciate your help. > > To be precise: It was not being an extension that I dislike. What I > dislike is that the `pthread_{get,set}_n

[Mingw-w64-public] [PATCH] include: update thumbcache.idl

2020-01-23 Thread Biswapriyo Nath
... From 37a4b3330d572c0d20cec7ece16f14528346b349 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 24 Jan 2020 10:07:53 +0530 Subject: [PATCH] include: update thumbcache.idl Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/thumbcache.idl | 137 +++ 1 fil

Re: [Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread David Grayson
My CMake file-installation needs are simpler than yours and I haven't figured out how to make it truly portable but I have something that works. I tell MSYS2 users to build/install the software by running these commands: mkdir build cd build MSYS2_ARG_CONV_EXCL=- cmake .. -G"MSYS Makefiles" -DCMAK

Re: [Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread David Mathog
On 2020-01-23 15:08, David Grayson wrote: Since CMake in MSYS2 is a native Windows program, if you ask it to make /tmp, I expect it will make C:/tmp. Did that happen? Good call, that is exactly what happened! This is a problem (especially for a cross platform build environment) because the p

Re: [Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread David Grayson
Since CMake in MSYS2 is a native Windows program, if you ask it to make /tmp, I expect it will make C:/tmp. Did that happen? --David On Thu, Jan 23, 2020 at 2:55 PM David Mathog wrote: > On 2020-01-23 14:15, David Mathog wrote: > > The CMakeLists.txt file after my signature works correctly in

Re: [Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread David Mathog
On 2020-01-23 14:15, David Mathog wrote: The CMakeLists.txt file after my signature works correctly in linux with: mkdir build cd build cmake .. make but in mingw64 this: mkdir build cd build cmake -G "MSYS Makefiles" .. make fails when it tries to link the first executable (which happens to

[Mingw-w64-public] cmake not creating directories on mingw64, works fine on linux.

2020-01-23 Thread David Mathog
The CMakeLists.txt file after my signature works correctly in linux with: mkdir build cd build cmake .. make but in mingw64 this: mkdir build cd build cmake -G "MSYS Makefiles" .. make fails when it tries to link the first executable (which happens to be pockmark.exe for some reason) because