Fwd: Cygwin 3.4.9 - how to install ssh-keygen

2023-11-21 Thread Hans-Bernhard Bröker via Cygwin
I can't see a command like cygcheck -p ssh-keygen as noticeably more cumbersome than comparable commands of other distributions Lee via Cygwin schrieb am Mo., 20. Nov. 2023, 23:42: > On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote: > > > > Dear all, > > > > I've installed cygwin 3.4.9-1

Re: Cygwin 3.4.9 - how to install ssh-keygen

2023-11-20 Thread Hans-Bernhard Bröker via Cygwin
Am 20.11.2023 um 17:54 schrieb Matthias--- via Cygwin: Unfortunately  I can't find ssh-keygen in the installable packages. That's quite strange, given ssh-keygen is clearly right there in that openssh package: $ cygcheck -f /usr/bin/ssh-keygen.exe openssh-9.5p1-1 -- Problem reports:

Re: Compile win64 filesys kernel module only with Cygwin tools?

2023-08-09 Thread Hans-Bernhard Bröker via Cygwin
Am 09.08.2023 um 21:17 schrieb Wendy Lin via Cygwin: How can I compile https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/cdfs with Cygwin gcc? You should not be trying to do that. That's deeply system-specific Windows code. It has nothing to with POSIX, Cygwin or

Re: Use Real LPT port with Cygwin?

2023-06-19 Thread Hans-Bernhard Bröker via Cygwin
Am 18.06.2023 um 21:35 schrieb tlake--- via Cygwin: I can use an emulated LPT port to a shared network printer from Cygwin but I'd like to print to a local LPT port also. The local printer has no IP address. Is it possible to print to a physical LPT port?> If I do this: ls >

Re: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE : Cygwin

2023-02-07 Thread Hans-Bernhard Bröker via Cygwin
Am 07.02.2023 um 07:59 schrieb Yeo Kai Wei via Cygwin: I think I found the issue, I believe it's due to MinGW's build of gcc (I could be wrong). I downloaded "gcc -core" and it worked. You keep talking of "downloading" and "unpacking" things. That indicates a continuing misunderstanding

Re: GCC doesn't find relative includes when passed paths using backward-slashes

2023-01-15 Thread Hans-Bernhard Bröker via Cygwin
Am 15.01.2023 um 13:38 schrieb Alexander Grund via Cygwin: The build system, finding it is running on Windows, will pass paths with backward slashes to the compiler. And that's wrong. Cygwin is not, for practical intents and purposes, Windows. It just runs on top of it. Yes, backslashed

Re: Cygwin Perl has slowed in recent months

2022-05-21 Thread Hans-Bernhard Bröker
Am 18.05.2022 um 03:53 schrieb David Christensen: > I am working on a Perl module that runs on various Unix-like platforms. > When I 'make test' on similar computers: > > FreeBSD 12.3-RELEASE 28 wallclock secs > Debian GNU/Linux 11.3 31 wallclock secs > macOS 11.6.2

Re: alternatives package dose not install /sbin executables

2022-04-29 Thread Hans-Bernhard Bröker
Am 29.04.2022 um 18:40 schrieb David Rogers via Cygwin: I successfully installed: alternatives1.3.30c-10 OK According to the alternatives package file list I should have the following executables installed: alternatives.exe and

Re: [:xdigit:] does not work with std::wstring in a Cygwin environment

2022-02-17 Thread Hans-Bernhard Bröker
Am 15.02.2022 um 02:36 schrieb Hans-Bernhard Bröker: Am 13.02.2022 um 19:25 schrieb Achim Gratz: There is no OS specific configuration for Cygwin explicitly, instead there is one for newlib that actually gets used. This piqued my curiosity, so I had a look at how libstdc++ is built.  I

Re: [:xdigit:] does not work with std::wstring in a Cygwin environment

2022-02-14 Thread Hans-Bernhard Bröker
Am 13.02.2022 um 19:25 schrieb Achim Gratz: Gans, Markus writes: This seems to be an internal Cygwin error: https://www.reddit.com/r/cpp_questions/comments/sp52gq/xdigit_does_not_work_with_stdwstring_in_a_cygwin/ […] Question: Why does Cygwin not detect the letters a, b, c, d, e, and f

Re: w32api.h

2021-12-14 Thread Hans-Bernhard Bröker
Am 14.12.2021 um 18:45 schrieb robhic...@gmx.com: Hi Cygwin, I'm compiling a non Cygwin code using ./config, make, make install. How exactly are you using "./config"? Is it a normal GNU autoconf ./configure script? If so, you should probably have made that point to the mingw

Re: Setting up toolchains

2021-09-27 Thread Hans-Bernhard Bröker
Am 27.09.2021 um 13:27 schrieb Anthony Webber: Anyway, I am trying to set up my gcc toolchains in Cygwin, by which I mean that I'm trying to set up the environment so that the right programs are called at the right time by build systems like cmake and waf, or if I want to build in a more

Re: [ANNOUNCEMENT] cygwin 3.3.0-0.1.9814cfd8f693 (TEST)

2021-09-18 Thread Hans-Bernhard Bröker
Am 19.09.2021 um 00:32 schrieb Ken Brown via Cygwin: Finally, I'd like to mention that it's extremely common for autotools-based packages to have an autogen script like Cygwin's (sometimes called bootstrap or bootstrap.sh).  There's nothing surprising about this. It's unsurprising to have

Re: updatedb broken as of findutils 4.8.0-1 due to bigram.exe no longer being provided

2021-08-29 Thread Hans-Bernhard Bröker
Am 28.08.2021 um 18:23 schrieb Dan Harkless: Looks like it's because in findutils 4.8.0-1, the bigram.exe program is no longer provided, but the /usr/bin/updatedb script (still) depends on it being there:     [...]     + for binary in $find $frcode $bigram $code     + checkbinary

Re: [ANNOUNCEMENT] Test: {mingw64-{i686,x86_64}-,}gcc-11.1.0-0.1

2021-05-13 Thread Hans-Bernhard Bröker
Am 13.05.2021 um 10:57 schrieb Thomas Wolff: The crash vanishes after removing a few lines from a conditional (if block) where the condition is false. A conditions that's always false, or one that's false during the execution of a particular test case? This smells like wrong calculation of

Re: Building the python swig tutorial

2021-03-27 Thread Hans-Bernhard Bröker
Am 27.03.2021 um 13:58 schrieb Brad Bell: It appeard that I need to add an non-standard location to a path so that the linker can find these files ? Read those error messages again. It's failing to find things _in_ any of those files, which means it did in fact find all files it was looking

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-25 Thread Hans-Bernhard Bröker
Am 24.03.2021 um 21:58 schrieb Ken Brown: On 3/24/2021 2:55 PM, Hans-Bernhard Bröker wrote: Am 23.03.2021 um 10:30 schrieb Corinna Vinschen via Cygwin-patches:  > On Mar 22 22:54, Hans-Bernhard Bröker wrote:  >> Am 22.03.2021 um 16:22 schrieb Johannes Schindelin: It's what WSL Debia

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-24 Thread Hans-Bernhard Bröker
Am 23.03.2021 um 10:30 schrieb Corinna Vinschen via Cygwin-patches: > On Mar 22 22:54, Hans-Bernhard Bröker wrote: >> Am 22.03.2021 um 16:22 schrieb Johannes Schindelin: >>> One of those under-documented reparse point types is the WSL symbolic >>> link, which yo

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-22 Thread Hans-Bernhard Bröker
Am 22.03.2021 um 16:22 schrieb Johannes Schindelin: On Mon, 15 Mar 2021, Hans-Bernhard Bröker wrote: Am 15.03.2021 um 04:19 schrieb Johannes Schindelin via Cygwin-patches: That argument might hold more sway if Windows itself didn't quite so completely hide that information from users, too

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-15 Thread Hans-Bernhard Bröker
Am 15.03.2021 um 04:19 schrieb Johannes Schindelin via Cygwin-patches: Hi Joe, On Sat, 13 Mar 2021, Joe Lowe wrote: I agree on the usefulness to the user of showing appexec target executable as symlink target. But I am uncertain about the effect on code. Maybe. But I am concerned about the

Re: CRITICAL ls MEMORY LEAK

2021-02-22 Thread Hans-Bernhard Bröker
Am 22.02.2021 um 21:30 schrieb Brian Inglis: I've often wondered if the heavy activity is due to Windows' defaults to writing files with F+RX perms which triggers executable virus scans? That could only be the case if Windows actually had an 'x' permission bit. -- Problem reports:

Re: thrd_sleep

2021-01-30 Thread Hans-Bernhard Bröker
Am 29.01.2021 um 00:36 schrieb Rafał Jopek via Cygwin: Hi, What package should be installed ? None. This is quite certainly a packaging mistake on a package you already have installed. In short: that file should be in cygwin-devel, but it isn't. -- Problem reports:

Re: How to reinstall everything?

2021-01-17 Thread Hans-Bernhard Bröker
Am 17.01.2021 um 19:23 schrieb matthew patton via Cygwin: can we fix setup.exe to read STDIN with '-P', like so? To fix something, it has to be broken first. I don't see that being the case here. echo 'pkg1,pkg2,pkg3' | setup.exe -P - I don't see that in any way easier or more helpful

Re: Can't open display issue from CMD

2021-01-16 Thread Hans-Bernhard Bröker
Am 16.01.2021 um 05:40 schrieb Marco Atzeri via Cygwin: It seems the remote machine is expecting to run a X interface by default. Or could it be that the local machine has ssh X11 forwarding turned on (for this remote machine)? Turning it off explicitly (-x flag) would turn it off, so if

Re: "ls" sorts wrongly if given large number of files

2021-01-06 Thread Hans-Bernhard Bröker
Am 06.01.2021 um 19:17 schrieb Kamran via Cygwin: Hi all "ls" (version 8.26) sorts wrongly if given large number of files via "find" or "xargs" Actually ls is working just fine here. You just misunderstand how "find" works in this case. To see what actually happens, you should run

Re: Is it possible to define the root directory in a cross compiled program

2021-01-05 Thread Hans-Bernhard Bröker
Am 05.01.2021 um 22:04 schrieb Andrey Repin: It's a Windows program - it can do whatever you program it to do! On Windows the device is NUL, the root is the drive root C:\, %SystemDrive%\ to be precise. Well, since we're being precise: no. %SystemDrive%\ is the root of the drive the system

Re: GAWK Incorrect Data Display

2020-12-19 Thread Hans-Bernhard Bröker
Am 20.12.2020 um 00:34 schrieb Jason McGee via Cygwin: I confirmed there is not a problem with my code by comparing Cygwin against Gawk for Windows. Your presentation of the problem is quite unclear, but the root cause is almost certainly not in the code, but in the data. You're bound to

Re: lookup problem in compiler

2020-11-15 Thread Hans-Bernhard Bröker
Am 15.11.2020 um 04:59 schrieb Juan carlos Rebate via Cygwin: Hello, I am trying to compile certain programs in windows 10 and I have a curious problem, I use mingw64-x86_64-w64-mingw, when I add related packages if it is able to locate them but if I install packages that are not related it is

Re: Reg facing Cygwin Issue while downloading the code.

2020-11-04 Thread Hans-Bernhard Bröker
Am 04.11.2020 um 10:36 schrieb Ponnusamy, Sathiyamoorthy (Extranet) via Cygwin: Hi Team, I am facing Cygwin issue while downloading the code. I don't think you do. Cygwin has very little, if anything, to do with this issue. I need this Cygwin tool urgently for the current project

Re: TMP/TEMP environment variable and /tmp

2020-09-16 Thread Hans-Bernhard Bröker
Am 16.09.2020 um 13:12 schrieb Thomas Wolff: Am 16.09.2020 um 13:04 schrieb marco atzeri via Cygwin: On Wed, Sep 16, 2020 at 10:53 AM Kristian Ivarsson via Cygwin Does anyone know the rational with this behaviour and what can be done to get hold of the (real) Windows TMP/TEMP

Re: update with apt-cyg ?

2020-09-07 Thread Hans-Bernhard Bröker
Am 07.09.2020 um 01:00 schrieb Ulli Horlacher: cygstart /setup-x86_64.exe --quiet-mode That approach is essentially guaranteed to fail you in frustrating ways, for two reasons: 1) (Minor) You do not want to have setup itself, much less its work and data directory, inside the cygwin

Re: undetectable libraries

2020-08-29 Thread Hans-Bernhard Bröker
Am 28.08.2020 um 00:51 schrieb Juan carlos Rebate via Cygwin: good evening, I have a strange problem, I try to compile code that uses gtk3 and sdl2 in addition to curl, Would you mind revealing what code that is? the problem is that when I invoke the gcc compiler it tells me that

Re: help compilation qemu

2020-05-24 Thread Hans-Bernhard Bröker
Am 24.05.2020 um 17:30 schrieb Juan carlos Rebate via Cygwin: [Can you _please_ cut down on the TOFU? Thanks ] Hi Caba, I know qemu-system-i386 because the official binary is that \ size.As for the command used I use this:x86_64-w64-mingw32- this way it

Re: [ANNOUNCEMENT] Updated: binutils-2.34+1git.de9c1b7cfe-1 (x86/x86_64)

2020-03-20 Thread Hans-Bernhard Bröker
Am 20.03.2020 um 00:18 schrieb Brian Inglis: On 2020-03-18 23:25, Marco Atzeri via Cygwin wrote: It seems something is adding 5M or more to the normal size of the programs See attached for summary details by arch, but main points for both are, on x86_64: [...] Could this be due to the

[PATCH 2/2] Do not bother passing optional argument to WriteConsoleA.

2020-03-08 Thread Hans-Bernhard Bröker
Passing a pointer to a local variable to WriteConsoleA is not actually needed if we're not going to do anything with what WriteConsoleA would put in there. For the wpbuf class the pointer argument was made optional, so it can be just left out; other call places now pass a NULL pointer instead.

[PATCH 1/2] Collect handling of wpixput and wpbuf into a helper class.

2020-03-08 Thread Hans-Bernhard Bröker
Replace direct access to a pair of co-dependent variables by calls to methods of a class that encapsulates their relation. Also replace C #define by C++ class constant. --- winsup/cygwin/fhandler_console.cc | 141 -- 1 file changed, 76 insertions(+), 65 deletions(-)

[PATCH 0/2] wpbuf class-ification

2020-03-08 Thread Hans-Bernhard Bröker
Second shot at wpbuf class-ification. Also no longer request data from WriteConsoleA that is not used for anything. Hans-Bernhard Broeker (2): Collect handling of wpixput and wpbuf into a helper class. Do not bother passing optional argument to WriteConsoleA.

[PATCH 0/2] wpbuf class-ification

2020-03-07 Thread Hans-Bernhard Bröker
Second shot at wpbuf class-ification. Also no longer request data from WriteConsoleA that is not used for anything. Hans-Bernhard Broeker (2): Collect handling of wpixput and wpbuf into a helper class. Do not bother passing optional argument to WriteConsoleA.

Re: Has rename syntax changed?

2020-03-04 Thread Hans-Bernhard Bröker
Am 04.03.2020 um 04:52 schrieb L A Walsh: On 2020/03/03 15:45, Hans-Bernhard Bröker wrote: Am 04.03.2020 um 00:25 schrieb L A Walsh: On 2020/02/28 04:38, Fergus Daly wrote: I am almost certain that the command $ rename "anything" "AnyThing" *.ext would alter the string fr

Re: Has rename syntax changed?

2020-03-03 Thread Hans-Bernhard Bröker
Am 04.03.2020 um 00:25 schrieb L A Walsh: On 2020/02/28 04:38, Fergus Daly wrote: I am almost certain that the command $ rename "anything" "AnyThing" *.ext would alter the string from lc to uc as shown, anywhere it occurred in any filename in *.ext in the current directory. isn't that they

Re: [PATCH 1/1] Collect handling of wpixput and wpbuf into a helper class.

2020-03-03 Thread Hans-Bernhard Bröker
Am 03.03.2020 um 01:35 schrieb Takashi Yano: The second argument DWORD *wn of sendOut() is not used outside sendOut(), so it can be covered up like: inline void sendOut (HANDLE ) { DWORD wn; WriteConsoleA (handle, buf, ixput, , 0); } I doubt that will improve much, if anything. There

[PATCH 1/1] Collect handling of wpixput and wpbuf into a helper class.

2020-03-02 Thread Hans-Bernhard Bröker
Replace direct access to a pair of co-dependent variables by calls to methods of a class that encapsulates their relation. Also replace C #define by C++ class constant. --- winsup/cygwin/fhandler_console.cc | 135 -- 1 file changed, 70 insertions(+), 65 deletions(-)

[PATCH 0/1] Handle wpbuf in a more C++ style

2020-03-02 Thread Hans-Bernhard Bröker
Replace a relatively C-styled co-dependent pair of variables, a #define, and an inline function by a helper class containing their relation, because that is more in the C++ style. Hans-Bernhard Broeker (1): Collect handling of wpixput and wpbuf into a helper class.

Copyright License waiver

2020-03-02 Thread Hans-Bernhard Bröker
To whom it may concern, I hereby grant anyone the rights to any use code I send here under the standard 2-clause BSD license statement as found, among other places, in winsup/cygwin/CONTRIBUTORS. Hans-Bernhard Bröker

Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-03-01 Thread Hans-Bernhard Bröker
Am 01.03.2020 um 07:33 schrieb Takashi Yano: However, from the view point of performance, just inline static function is better. I don't see how that could be the case. Inline methods of a static C++ object should not suffer any perfomance penalty compared to inline functions operating on

Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-02-29 Thread Hans-Bernhard Bröker
One more important note: the current implementation has a potential buffer overrun issue, because it writes first, and only then checks whether that may have overrun the buffer. And the check itself is off by one, too: wpbuf[wpixput++] = x; \ if (wpixput > WPBUF_LEN) \ wpixput--;

Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-02-28 Thread Hans-Bernhard Bröker
Am 28.02.2020 um 14:31 schrieb Corinna Vinschen: [CC Hans] Thanks. I wasn't subscribed to -patches so far. Will change that. Hans, as for making a patch for this issue, may I leave it to you because you are already working on it? My patch was meant only as a minimally-invasive stop-gap

[PATCH] Properly encapsulate multi-statement macro.

2020-02-27 Thread Hans-Bernhard Bröker
winsup/cygwin/fhandler_console.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 4ab9bcab8..353abd197 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc

Re: [BUG]: 3.1.4: cmd -> bash -> mintty yields Windows exception

2020-02-21 Thread Hans-Bernhard Bröker
Am 21.02.2020 um 18:22 schrieb David Rothenberger: With cygwin 3.1.4, I get an "exception c005" when I perform the following actions: 1. Use the Windows run box to start a cmd shell 2. From there, run "bash". (I'm sure it is the Cygwin bash.) How did you make sure of that? The output of

Fwd: Re: headache on build repeatibility: octave vs BLODA ?

2020-01-29 Thread Hans-Bernhard Bröker
[Ooops, sent this to Takashi instead of the list, originally.] Am 29.01.2020 um 14:46 schrieb Takashi Yano: On Wed, 29 Jan 2020 13:19:11 +0100 Marco Atzeri wrote: As Octave uses gnulib, it is possible that the changes in MS are causing a different subset of gnulib to be used than before, may

Re: headache on build repeatibility: octave vs BLODA ?

2020-01-28 Thread Hans-Bernhard Bröker
Am 29.01.2020 um 01:02 schrieb Hans-Bernhard Bröker: So re-run it in gdb, via libtool (run-octave -g ...).  Still crashes, but I didn't manage to get around the SIGSEGV handler in octave.  It always caught the SEGV before gdb managed to get there. So my finding, so far, would

Re: headache on build repeatibility: octave vs BLODA ?

2020-01-28 Thread Hans-Bernhard Bröker
Am 25.01.2020 um 17:55 schrieb Marco Atzeri:   libinterp/corefcn/file-io.cc-tst ...fatal: caught signal Segmentation fault -- stopping myself... /bin/sh: line 1:  3771 Segmentation fault  (core dumped) /bin/sh ../run-octave --norc --silent --no-history -p

Re: grace broken installation

2020-01-27 Thread Hans-Bernhard Bröker
Am 27.01.2020 um 13:58 schrieb Ken Brown: On 1/26/2020 10:25 PM, Hans-Bernhard Bröker wrote: Am 25.01.2020 um 15:23 schrieb Rodrigo Medina: Hi, Both   installations of grace-5.1.24 and grace-5.1.245 are  broken. /usr/bin/xmgrace.exe runs but gives the message: --> Broken or incompl

Re: grace broken installation

2020-01-26 Thread Hans-Bernhard Bröker
Am 25.01.2020 um 15:23 schrieb Rodrigo Medina: Hi, Both installations of grace-5.1.24 and grace-5.1.245 are broken. /usr/bin/xmgrace.exe runs but gives the message: --> Broken or incomplete installation - read the FAQ! and then quits. After reading the FAQ and comparing with a direct build

Re: Terminfo files not found?

2020-01-24 Thread Hans-Bernhard Bröker
Am 24.01.2020 um 00:31 schrieb Jim Zheng: I seem to be running into an issue with my terminal not being recognized after updating to the latest terminfo (6.1-1.20190727). Setting TERM to anything other than 'xterm' results in loss of terminal control where I am unable to use

Re: Version incorrect

2019-11-04 Thread Hans-Bernhard Bröker
Am 04.11.2019 um 23:06 schrieb Caines, Brian: > Hi, on the current website version it is listed as 3.0.7. However, when I > install it and right click on the terminal window -> Options -> About, it > says 3.0.6. You're looking in the wrong location. What you're looking at is the version of the

Re: configure script fails during install (Setup Ver 2.897 (64 bit))

2019-11-04 Thread Hans-Bernhard Bröker
Am 04.11.2019 um 02:06 schrieb Lawrence Clooney: > Error Message: > checking whether to use NLS... no > checking for initscr in -lncurses... yes > checking ncurses.h usability... yes > checking ncurses.h presence... yes > checking for ncurses.h... yes > checking for Berkeley DB db.h version >= 4.1

Re: OPENMPI only works on Cygwin Terminal not windows Command Line

2019-10-27 Thread Hans-Bernhard Bröker
Am 27.10.2019 um 04:33 schrieb William John: > Dear Cygwin, > > I recently installed openmpi and libopenmpi-devel on my windows machine. > However, I cannot call mpicc on my windows cmd, rather I get "'mpicc' is > not recognized as an internal or external command, operable program or > batch

Re: printf, "unable to initialize PRN" message

2019-09-11 Thread Hans-Bernhard Bröker
Am 11.09.2019 um 02:03 schrieb Blair, Charles E III: > I have just installed cygwin (64 bit) and gcc. The "hello world" program > works, but > > #include > int main(){printf( "%c\n" , 'X' );return 0;} > > leads to > > Unable to initialize device PRN > Unable to initialize device PRN I

Re: looking for xcp and/or wxcopy?

2019-08-21 Thread Hans-Bernhard Bröker
Am 21.08.2019 um 21:39 schrieb L A Walsh: >> apropos cut|grep -iP 'copy|paste' > and found (among others) > wxcopy (1x) - copy stdin or file into cutbuffer > wxpaste (1x) - output a cutbuffer to stdout > xcb (1x) - X Cut Buffers - Pigeon holes for your cut and > paste

Re: More on Win7 update messing up HOME

2019-08-16 Thread Hans-Bernhard Bröker
Am 16.08.2019 um 15:28 schrieb David Karr: > On Fri, Aug 16, 2019 at 3:50 AM Andrey Repin wrote: >> Do you have %HOME% variable set in your user environment? >> Do you have %HOMEDRIVE%/%HOMEPATH% variables defined to something >> unsettling? > I checked "Environment Variables" in control panel,

Re: Did I miss something? cscope v15.9.1 has been released ...

2019-08-10 Thread Hans-Bernhard Bröker
Am 10.08.2019 um 10:01 schrieb Houder: > Remarkably https://sourceforge.net/projects/cscope/ (news) > reports v15.8b as the last release ... > > ... though v15.9 is mentioned at a different tab (git). > > But really, what changed? (why NO annoucement?) That one's on me. I'm the maintainer of

Fixes for gcc-8.3 broke compilation with gcc-7.4

2019-07-19 Thread Hans-Bernhard Bröker
Hello one and all, As of commit b66dddb56d14a4032969fe8bb92d64baa6e0362e, winsup/cygwin/uname.cc no longer compiles with the current GCC version installed with cygwin itself. The newly added __attribute__ is unknown to GCC 7, and thus triggers a -Werror for unused/unknown attributes: $ LANG=C

Re: Wild card to address drives

2019-07-18 Thread Hans-Bernhard Bröker
Am 18.07.2019 um 10:03 schrieb Fergus Daly: > I have > none / cygdrive binary 0 0 > as the only line in the file /etc/fstab to allow for example > $ ls /h/config.sys > instead of the long-hand > $ ls /cygdrive/h/config.sys And that's precisely your problem. You've now overlaid two mount points

Re: cygport and C:\Windows\system32\tar.exe

2019-06-30 Thread Hans-Bernhard Bröker
Am 30.06.2019 um 07:37 schrieb Federico Kircheis: > My problem is that cyport tries to invoke tar with an absolute file, and > of course C:\Windows\system32\tar.exe does not understand a path that > begins with `/cygdrive/c`. No. Your problem is that you're trying to use cygport from the wrong

Re: Process argument passing problems

2019-06-21 Thread Hans-Bernhard Bröker
Am 21.06.2019 um 17:19 schrieb reiter.christ...@gmail.com: > Hey everyone, > > I have to following problem (using cmd.exe): > > C:\cygwin64\home\xy>C:\cygwin64\bin\echo.exe -DFOO=\"BAR\" -DBAR=\"FOO\" > -DFOO=\BAR" -DBAR="FOO" > > I would have expected: > > -DFOO="BAR" -DBAR="FOO" Expecting

Re: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )

2019-06-06 Thread Hans-Bernhard Bröker
Am 06.06.2019 um 21:18 schrieb Hans-Bernhard Bröker: > Still that would constitut, if not a flat-out bug, at least severe > bit-rot in the upstream package, because if it doesn't work with > Cygwin's automake version 1.15, it most likely doesn't with reasonably > current versions

Re: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )

2019-06-06 Thread Hans-Bernhard Bröker
Am 06.06.2019 um 10:03 schrieb Soegtrop, Michael: > From a tarball. As far as I can tell I am exactly reproducing the > original package that is available as binary on Cygwin repos with > exactly the same sources, patches and cygport file. ... but possibly way different versions of the autotools

Re: Cygport: How to add -I m4 to autoreconf / aclocal?

2019-06-05 Thread Hans-Bernhard Bröker
Am 05.06.2019 um 11:53 schrieb Soegtrop, Michael: The reason is that aclocal is missing a "-I m4" option to include the local m4 subfolder. I wonder what I need to do in the cygport file to add this. Or should this be added in gnome2_autogen.sh. If that had to be done, that would constitute a

Re: The adventure of building Bedrock in Cygwin: any help would be appreciated

2019-05-20 Thread Hans-Bernhard Bröker
Am 20.05.2019 um 21:12 schrieb Jose Isaias Cabrera: > There is no configure script on the source directory, And that should have been a warning to you. This is the most portability-ignorant open source package I've seen in a long time, and by a very wide margin. They don't even _try_ to

Re: Why is __unix__ defined, and not __WINDOWS__ ?

2019-05-12 Thread Hans-Bernhard Bröker
Am 12.05.2019 um 20:22 schrieb Agner Fog: > I have noticed that the gcc and clang compilers have defined the > preprocessing macro __unix__, but not __WINDOWS__, _WIN32, or _WIN64 > when compiling a windows executable. > > Why is this? Because it's correct that way. Cygwin runs on Windows, but

Re: Cygwin bash script removing equal sign

2019-04-25 Thread Hans-Bernhard Bröker
Am 25.04.2019 um 18:11 schrieb Peter Palaparthy: > Cygwin bash script is removing equals sign from command call. On what basis did you conclude it was bash doing that, and not, say, make? > *Here is the relevant command in my makefile.* > *$(elabcmd) = $(XELAB_DEFAULT) \-generic VERSION=10* I

Re: bug: cygwin-devel v3.0.2-1 socket.h does not #define MSG_EOR per the POSIX standard

2019-04-25 Thread Hans-Bernhard Bröker
Am 25.04.2019 um 17:48 schrieb Eric Blake: > On 4/25/19 10:28 AM, Brian Inglis wrote: >> Would it be allowed and valid to #define MSG_EOR 0 to simplify lack of >> support? > > No, because that implies that EVERY send() call is requesting MSG_EOR > and that it never fails. And maybe more

Re: bug: cygwin-devel v3.0.2-1 socket.h does not #define MSG_EOR per the POSIX standard

2019-04-24 Thread Hans-Bernhard Bröker
Am 24.04.2019 um 19:54 schrieb Eliot Moss: > On 4/24/2019 12:43 PM, Corinna Vinschen wrote: >> Since MSG_EOR isn't implemented in the underlying transport layer, >> there's no way to implement it in userspace.  That's why it's not >> defined in Cygwin's headers.  If you have an idea how to

Re: DJGPP cross compiler crashes.

2019-04-19 Thread Hans-Bernhard Bröker
[A side note, first: this is a traditional mailing list, i.e. the policy is snipping and bottom-replying...] Am 19.04.2019 um 01:41 schrieb Carlo B.: > I have no idea how you can run it without errors, please note that > i586-pc-msdosdjgpp-gcc works fine until it does not link. Please note

Re: DJGPP cross compiler crashes.

2019-04-18 Thread Hans-Bernhard Bröker
Am 18.04.2019 um 16:11 schrieb Carlo B.: > I would like to signal that the DJGPP cross compiler, included into > the available packages, crashes as soon as you try to compile > something with it. Doesn't, here. It just works. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: tar cygwin64/ from old to new computer?

2018-11-26 Thread Hans-Bernhard Bröker
Am 26.11.2018 um 21:32 schrieb Gilbert St. Firmin: > Could the native Windows version of 7-zip be used on both old and new > computers? Possibly. If that can be taught to copy all the attributes used by Cygwin, without running into the usual problems we see whenever Windows tools are used to

Re: tar cygwin64/ from old to new computer?

2018-11-25 Thread Hans-Bernhard Bröker
Am 25.11.2018 um 15:38 schrieb Lester Ingber: > I'd like to simply transfer my cygwin64/ directory from my old Thinkpad > to my new Thinkpad, both running Win 10 x64 Pro. E.g., I would put my > old c:/cygwin64/ onto a flash SSD USB drive e:/ . > cd c:/ > tar cfp - cygwin64 > e:/cygwin64.tar & >

Re: urgent help for tool

2018-10-24 Thread Hans-Bernhard Bröker
Am 24.10.2018 um 22:49 schrieb Andrey Repin: > Greetings, Stefan Baur! > >> if you can either get hold of the current mailing list's subscriber >> list, to auto-subscribe everyone to a new list, or you are able change >> the current mailinglist's address to, say, cygwin...@cygwin.com, you >>

Re: Distributing program compiled with gcc on Cygwin to Windows users

2018-10-15 Thread Hans-Bernhard Bröker
Am 14.10.2018 um 23:20 schrieb hacker...@protonmail.com: > Hello, > > I have a program that uses X11/Motif and runs fine, within Cygwin/X on the PC > it was compiled on. > > What is the *minimum* required set of Cygwin libs and any other files I need > to distribute along with, it to end-users

Re: Creation of weird WINDOWS-related (sub)directories

2018-09-25 Thread Hans-Bernhard Bröker
Am 25.09.2018 um 17:16 schrieb Fergus: Unintentionally I have confounded the discussion. The directory named "consoleX" is my home-grown Cygwin root directory. (Others' preferred locationname might be "cygwin" or "mycygwin" or whatever.) That does not explain anything, actually. Cygwin's own

Re: Why does -std=c++11 hide certain function calls

2018-09-05 Thread Hans-Bernhard Bröker
Am 05.09.2018 um 07:55 schrieb John Selbie: With this: g++ foo.cpp -c -std=c++11 It compiles fine everywhere else, except CygWin. Output on Cygwin: I'm afraid that may mean everywhere else is wrong. Yes, switching to -std=gnu++11 or adding -D_DEFAULT_SOURCE to the command line line works.

Re: Advice on setting Cygwin build parameters for OpenSC.

2018-09-02 Thread Hans-Bernhard Bröker
Am 02.09.2018 um 03:22 schrieb Darren Whobrey: The tweak required to get OpenSC to work with the standard Cygwin utils, like ssh-agent, is to comment out a line in the configure.ac script that previously was causing it to force a WND build, which resulted in struct packing of 1 – and that

Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64}-gcc-7.3.0-1 (Test)

2018-08-26 Thread Hans-Bernhard Bröker
Am 25.08.2018 um 02:13 schrieb Steven Penny: On Fri, 24 Aug 2018 10:11:42, JonY wrote:    $ wc -c /lib/gcc/x86_64-w64-mingw32/7.3.0/libstdc++.a    22446354 /lib/gcc/x86_64-w64-mingw32/7.3.0/libstdc++.a    $ wc -c mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0/libstdc++.a    5597192

Re: NEW DEFECT: Basic cygwin Update Fails to Complete

2018-07-25 Thread Hans-Bernhard Bröker
Am 25.07.2018 um 20:50 schrieb Brian Inglis: If you use a Cygwin shell you can see /usr/{bin,lib}/, etc.; if you use a Windows shell you can not. That's got nothing to do with the shell. It only depends on whether the program that does the "seeing" is a cygwin-based one or not. From a

Re: NEW DEFECT: Basic cygwin Update Fails to Complete

2018-07-25 Thread Hans-Bernhard Bröker
Am 25.07.2018 um 12:39 schrieb John Delaney: As I have done many times before, I attempted to update my 32-bit Cygwin installation around midnight 7/24-25/ 2018. This time the process failed at about 99% complete. " /etc/postinstall/ texlive-collection.basic.sh" failed to complete repeatedly

Re: Windows upgrade

2018-06-13 Thread Hans-Bernhard Bröker
Am 13.06.2018 um 01:30 schrieb Alejandro Benitez: It's somehow clear I thankfully won't need to upgrade to cygwin64 until later, While you don't need to do it, you'll have to re-install Cygwin anyway, and frankly, installing 32-bit Cygwin from scratch, on a 64-bit Windows machine, just

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-06-08 Thread Hans-Bernhard Bröker
Am 08.06.2018 um 17:16 schrieb Denis Nikiforov: /usr/include/boost/process/detail/posix/is_running.hpp:18:1: error: non-constant condition for static assertion static_assert(!WIFEXITED(still_active), "Internal Error"); ^ __wait_status_to_int must be a macros but it's redefined

Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream

2018-06-05 Thread Hans-Bernhard Bröker
Am 05.06.2018 um 17:56 schrieb Ivan Shynkarenka: Hello, I found an issue with Cygwin GCC 7.3.0 when building with -std=gnu++17 flag. Using Cygwin 32-bit or 64-bit? I have to ask because I could not reproduce your problem here, on the 64-bit version. Build: g++ -std=gnu++17 test.cpp

Re: Defaulting to stabs debug output from AS Cygwin64

2018-05-15 Thread Hans-Bernhard Bröker
Am 15.05.2018 um 19:17 schrieb Michael Enright: The GCC driver uses -gdwarf2 if you do 'gcc -g' on a .s file. Using -gdwarf2 with assembly code manually or through gcc is successful in producing a Cygwin64 executable that Cygwin64 GDB can work with. This combination of circumstances led me to

Re: /usr/include/ssp/wchar.h:78:1: error: unknown type name ‘FILE’ (during cygport package build)

2018-05-13 Thread Hans-Bernhard Bröker
Am 13.05.2018 um 18:01 schrieb waterlan: The C flag that triggers this option is -Wp,-D_FORTIFY_SOURCE=2. That does look rather weird. Why would one write that instead of just -D_FORTIFY_SOURCE=2 ? Anyway, the test can be simplified quite a lot to: hbbro@NB4 ~/tmp $ cat twchar.c #include

Re: CYGWIN 2.8

2018-05-08 Thread Hans-Bernhard Bröker
Am 08.05.2018 um 13:22 schrieb David Spencer: Morning, I am trying to get CYGWIN Version 2.8, this is the only version approved for our system at present, Providing that is, to a great extent, actually the job of whoever approves versions of Cygwin for you. That's because the version

Re: Floating point exception in strtod()

2018-04-08 Thread Hans-Bernhard Bröker
Am 08.04.2018 um 05:11 schrieb Duncan Roe: I tried in 64-bit with the same result as Eliot: works fine w/out feenableexcept, no o/p with feenableexcept. Just in case this may have been overlooked: please note that "no output" actually means the program crashed because of an uncaught SIGFPE,

Re: How to handle length limit of PATH environment variable

2018-04-05 Thread Hans-Bernhard Bröker
Am 05.04.2018 um 11:19 schrieb Peter Bauer: i was bitten by the length limit of the PATH variable of 4095 characters (see [1]) and could not find a way around it. This means i have a lot of software packages in different directories and each of them adds itself to the PATH so one can run the

Re: mandb -p deleting "obsolete" Windows cat directories

2018-01-23 Thread Hans-Bernhard Bröker
Am 23.01.2018 um 02:49 schrieb Brian Inglis: I was surprised when I looked at the log (attached, with lots of man directory > indexing stripped), that mandb -p decide to scan my C drive and perform the It probably wasn't actually scanning "the C drive" as such, but rather the neighboring

Re: setup's response to a "corrupt local copy"

2017-12-13 Thread Hans-Bernhard Bröker
Am 13.12.2017 um 14:28 schrieb Ken Brown: When setup is preparing to download files and it finds a corrupt copy in the local cache, it issues a fatal error message telling the user to remove the corrupt file and retry.  Steven said that setup should silently delete the corrupt file, while I

Re: How to use CMake with cygwin/mingw toolchain?

2017-10-20 Thread Hans-Bernhard Bröker
Am 20.10.2017 um 14:50 schrieb Peter Quiring: The mingw versions have x86_64-w64-mingw32- or i686-w64-mingw32- added to their exe names. Currently I just use these directly but I want to use cmake. You can just tell cmake to use them: cmake -D CMAKE_C_COMPILER=x86_64-w64-mingw32-gcc

Re: GCC-6.4 sys/select.h build failures with std=c++14

2017-09-26 Thread Hans-Bernhard Bröker
Am 26.09.2017 um 07:32 schrieb Marco Atzeri: "The header shall define the fd_set type as a structure." so if they are using it, they should have a proper include The complete story is a bit more complicated than that, though. The curl maintainers almost fixed this at their end, but then

Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64} binutils, gcc (Test)

2017-09-25 Thread Hans-Bernhard Bröker
Am 25.09.2017 um 20:44 schrieb Steven Penny: perhap you are using old versions Not exactly. I'm using the current versions: 2.25.0.1, 5.4.0 respectively --- you're using not old enough, a.k.a. still "Test"ing versions ;-) -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64} binutils, gcc (Test)

2017-09-25 Thread Hans-Bernhard Bröker
Am 25.09.2017 um 03:53 schrieb Steven Penny: On Sun, 24 Sep 2017 00:48:20, JonY wrote: I don't really work with cmake, but what it looks like, but it probably makes gcc look in the mingw include dir first and then gcc's, breaking gcc's headers. Correct thus far. -isystem is really not a

  1   2   >