Cygwin is the full GNU Suite compiled for Microsoft's Windows

Community :


Select / InstalL wget (not curl)

Open ShelL :

cd /usr/local/bin && wget -c && chmod a+rx *.exe

 cd /usr/local/bin && wget -c $url && chmod a+rx apt-cyg
 apt-cyg install wget screen psmisc progps-ng
 apt-cyg install wget xinit 
 startxwin || startxwin -- -nolock # FAT32 workaround
 apt-cyg install mc rsync autossh git-svn emacs xemacs p7zip openssh git
 ln -fs /cygdrive /mnt

@tag: install WindowS GnU SoftWare

Win Xp


MESSAGE : child_info_fork::abort: data segment start: parent

$ xinit
      1 [main] xinit 5584 child_info_fork::abort: data segment start: parent(0x2
C3000) != child(0x3C3000)
xinit: server error





stat README.txt

File: `README.txt'
Size: 38794           Blocks: 1024       IO Block: 65536  regular file
Device: 2789092ah/663292202d    Inode: 8817574084799  Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (4294967295/????????)   Gid: (4294967295/????????)
Access: 2011-08-01 10:23:48.000000000 +0200
Modify: 2011-08-01 10:23:38.000000000 +0200
Change: 2011-08-01 10:23:38.000000000 +0200
Birth: 2011-08-01 10:23:38.000000000 +0200

Solution? :

mkpasswd -h
mkpasswd -d -u $USER --path-to-home=/cygdrive/c/Users >> /etc/passwd

Misc: getfacl mount

net use n: "\\\\\\maemo" maemo /USER:maemo@
System error 1219 has occurred.





How comes is it impossible to write a STATIC lib using MSVC's .LIB format ? while .DLL are possible ?

Well actually it works for C objects (just ar cru lib${PACKAGE}.lib)

no sure about C++ ones (see nm)

Or at least to transcribe from GCC's .a format ?

Anyway if it possible or not this should be somewhere in the FAQ.

Community :

[[GNU]] not [[Windows]]

To Download / full cygwin on a GNU system (over 500Mb)

mkdir -p ~/tmp/cygwin && cd ~/tmp/cygwin
wget -r -l0 --no-parent

Then install :

mkdir -p /mnt/c/cygwin &&  cd /mnt/c/cygwin
find ~/tmp/cygwin -name "*.tar.bz2" -exec tar xfjv {} \;
#use -maxdepth 1  for norecursive


"\e[[2~": paste-from-clipboard

warning sometimes the .dll are not found even if there are in this Path's folders make sure it is the real .dll and not links (.lnk) because this wont work , cyou can workaround this by copying .dll in /usr/local/bin/


I get an error message

"*** unable to remap ... to same address as parent"

What could I do ?

# ash
# /bin/rebaseall [[-v]]

QT GPL on Windows

Add unix's 3rd button

run XWin -multiwindow -clipboard -emulate3buttons


MSVC nmake bug

BUG (or rather regressed functionality)

The way Cygwin performs access control checks seems to have changed over the past year or two, this seems to cause problems when used with smbntsec. Whereas it used to stat a file, call get_nt_attribute, and presumably calculate permissions itself using the mapped uid and gid, it now calls the win32 function AccessCheck using the process token. This is fine for the local machine or another machine on the domain, but doesn't work for machines with a “workgroup” type relationship using network shares. Previously this sort of functionality could be made to work by filling in the additional SIDs/UIDs in /etc/passwd.

As a result of this 'test' gives misleading results and 'rm' complains it can't delete a file you've just created. So for example athough ls -l will show the executable bits set for a file, test -x will fail because of the failed AccessCheck.

I am using version 1.5.9 of cygwin.


“Fichier caché non remis à zéro”

attrib -s -h -r C:\WINDOWS\SYSTEM32\cygwin1.dll




cygwin.txt · Last modified: 2020/09/08 20:41 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki