One query. I can do `cd /c/Windows/Sysnative` in x86 cygwin. What's
the point of having a virtual folder?
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info:
I am not familiar with newlib. Please feel free whatever you want to
do with my previously provided diff. Also my previous question is
unanswered.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:
Currently the autoconf files in newlib-cygwin repo are in 2.64 version
but the latest autoconf package is version 2.69. So, autoreconf
command shows errors. Possible diff attached.
diff --git a/config/override.m4 b/config/override.m4
index 52bd1c3..1c3c298 100644
--- a/config/override.m4
+++
Is it possible to compile only cygwin1.dll in newlib-cygwin
repository? I want to skip building all docs and the installation of
xmlto like programs. Also there is an error:
../../../../winsup/cygwin/gendef: No such file or directory
Any hint?
--
Problem reports:
By "Linux", if you mean Linux kernel then try to use new Windows Subsystem
for Linux (WSL) or any GNU/Linux operating system in a virtual machine.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:
Chaging the defines in package may break others installation. You can set
the version in source code as you need, for example:
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x602
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:
Patch file attached.
From fcc8f83f4d47ba9f755725c64218f2f13e9a8e2d Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath
Date: Wed, 1 Apr 2020 11:20:00 +0530
Subject: [PATCH] winsup/cygwin: remove defines added in mingw-w64 v7.0.0
Signed-off-by: Biswapriyo Nath
---
winsup/cygwin/mmap.cc | 3
Same issue here. I use git in msys2 for correct file permissions. Also
if I install cygwin and reinstall Windows 10 OS then Windows programs
can not edit any cygwin files. I have to take ownership with takeown
and icacls commands then chmod the files.
I found a temporary workaround. 1. Add
Also, w32api-headers version 7 for x86_64 is missing.
Link: https://cygwin.com/cgi-bin2/package-grep.cgi?grep=w32api=x86_64
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:
I did not mean the release page [1]. I mean the cygwin headers is older
than the current mingw-w64 git repository [2]. The latest tag is v6.0.0.
[3]
Wait, did you mean there should be a new "stable" tag or release in
mingw-w64 so that cygwin can import it?
[1]:
The C header files are way behind the current mingw-w64 repository. Can you
update that package in cygwin?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:
> I cannot reproduce the problem
Why everything happen to my PC :( Maybe this issue in my setup.
> Could you please let us know more detail about your environment, compiler,
> etc?
Windows 10 Pro Insider build 19008 x86_64. GCC 8.3.0.
> What happens if you execute cmd.exe?
No error code in
While using GetFileType API upon standard console handle, GetLastError
shows error code 187 aka. ERROR_SEM_NOT_FOUND. GetLastError shows 0
(zero) in stable cygwin version. Here is the test code:
#include
#include
int main(void)
{
SetLastError(0);
printf("%d (%d)\n",
I want to use socket() from ws2_32.dll file. But cygwin1.dll also has that
export. When I use `-lws2_32` option, will gcc **always** choose
ws2_32.lib? My query is somewhat similar with FAQ #5.11.
--
Problem reports: http://cygwin.com/problems.html
FAQ:
It seems to be issue in Travis CI. See this forum post:
https://travis-ci.community/t/cygwin-issue-cygheap-base-mismatch-detected/5359
If you are in hurry you can use Appveyor CI. I'm using it without any
issue. One has to just add `C:\cygwin64\bin` in PATH variable in YAML file.
--
Problem
>From Takashi Yano's query, I ran those command, the last one shows the
assertion output. But wait! I rename the home folder (~) in cygwin
then revert it back. Now there is no issue. Don't know what happened.
--
Problem reports: http://cygwin.com/problems.html
FAQ:
* mintty version: mintty 3.0.6 (x86_64-pc-cygwin)
* cygwin version: 3.1.0-0.6
* code:
#include
int main() {
int x = 1;
assert(x == 0);
}
* Expected result: The terminal should show this message which appers
in latest stable cygwin version.
assertion "x == 0" failed: file "test.c", line 6,
While compiling cygwin with gcc version 7.4.0 (GCC) this error is shown:
Making all in reent
/d/newlib-cygwin/newlib/libc/reent/execr.c: In function ‘_wait_r’:
/d/newlib-cygwin/newlib/libc/reent/execr.c:120:14: warning: implicit
declaration of function ‘_wait’; did you mean ‘wait’?
To Corinna Vinschen:
> We can only use what's part of the current w32api-headers package.
I occasionally contribute to mingw-w64 repository. Is there anything I can
do so that cygwin uses latest headers and libraries from mingw-w64?
To Takashi Yano:
> Then, is it possible to DuplicateHandle()
On Friday, August 30, 2019, Takashi Yano wrote:
> If ioctl(TIOCSWINSZ, ...)
is called from other process, it fails.
The HPCON isn't a handle. It's a pointer of a struct of three handles. In
my opinion, I think it's consistent with pty functions in libc. Like in
forkpty(2) the pid is returned in
On Thursday, August 29, 2019, Corinna Vinschen
wrote:
> Support the new pseudo console in PTY. Pseudo console is a new feature
in Windows 10 1809, which provides console APIs on virtual terminal.
Some queries about this specific feature:
1a. In fhandler_pty_mater::ioctl function, shouldn't the
I've tried to use poll() with a Windows socket (from WSASocket) and a
cygwin side file descriptor (fd). But it is only signaled for fd only.
At first, I have seen that fhandler_socket_wsock::set_socket_handle() casts
SOCKET to int. So, is it possible to use poll() with the SOCKET type? Or Is
If a function calls both cygwin and Windows functions the binary creates
extra subroutine (in assembly) for cygwin ones. Example:
* Windows function:
call cs:CreatePipe
* cygwin function:
call ioctl
ioctl proc near
jmp cs:__imp_ioctl
endp
The binary is statically compiled. Why
Can anyone provide a function calls between cygwin socket() and Windows
socket() as a flowchart? For example, with AF_INET.
In source code (fhandler_socket_inet::socket), I see bunch of function
pointers which seems confusing to me.
--
Problem reports: http://cygwin.com/problems.html
FAQ:
Now I'm sure that the issue in cygwin source code. I've installed all the
components. Also find same issue[1] provided a year ago. Cygwin needs some
papering[2] for gcc 8.3.0.
[1]: https://github.com/Tencent/rapidjson/issues/1246
[2]:
> .. uhm, sort of ... [1] is deprecated
If it is deprecated then why the FAQ is not fixed yet?
> cygwin is built using cygport ...
Is there any docs about it? I don't find the cygwin.cygport file in source
tree. Also I don't use source tarballs, git is my first choice. Also the
configure script
make command shows:
```
In file included from /d/newlib-cygwin/winsup/cygwin/aio.cc:10:
/d/newlib-cygwin/winsup/cygwin/path.h: In member function 'path_conv&
path_conv::eq_worker(const path_conv&, const char*)':
/d/newlib-cygwin/winsup/cygwin/path.h:316:33: error: 'void*
memcpy(void*, const
Here is the sample code that I've tried.
#include
#include
#include
#ifndef AF_HYPERV
#define AF_HYPERV 34
#endif
int main(void)
{
int s = socket(AF_HYPERV, SOCK_STREAM, 0);
if (s > 0)
printf("success\n");
else
printf("%s\n", strerror(errno));
}
Is this by-design? Or am
28 matches
Mail list logo