Re: CYGPORT not setting CMAKE_SYSTEM_PROCESSOR when cross compiling with aarch64-w64-mingw32.

2024-07-22 Thread Carlo B. via Cygwin
Hello, thank you for your reply. The patch is a good start to me. However, I think that it would be better to remove the error if CHOST or CTARGET include something different from x86_64, i686 or aarch64. Otherwise, you won't be able to cross compile anything with CMake, except for those CPUs. Inst

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Bill Stewart via Cygwin
On Sat, Jul 20, 2024 at 8:57 AM Mark Liam Brown wrote: Basically I need every bit of information out of "net use", "net > config", "net statistics", "net view" and so on, parse it in bash or > perl, process it in bash, and output it in JSON format from the bash > script for our (Linux-based) admin

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Csaba Ráduly via Cygwin
On 21/07/2024 05:57, Thomas Wolff via Cygwin wrote: Am 21.07.2024 um 01:54 schrieb Takashi Yano via Cygwin: On Sat, 20 Jul 2024 15:44:17 +0200 Mark Liam Brown wrote: I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the la

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Bill Stewart via Cygwin
On Mon, Jul 22, 2024 at 12:50 PM Csaba Ráduly wrote: Plus, it sounds like a global solution to a local problem: > https://devblogs.microsoft.com/oldnewthing/20081211-00/?p=19873 > Good point. Parsing 'net use' output is not the correct way, or even a very good way, to get the requested informatio