Questions tagged [cygwin]

Cygwin is a collection of GNU and other Unix-like FOSS tools which run on MS Windows and provide functionality similar to a GNU/Linux distribution while (mostly) conforming to POSIX specifications. Use this tag for questions about developing programs and/or scripts to run in this environment. Questions on the *use* of tools in a Cygwin environment are more appropriate for Super User (https://superuser.com).

Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.

Cygwin consists of two parts: a dynamic-link library () as an API compatibility layer providing a substantial part of the API functionality, and an extensive collection of software tools and applications that provide a Unix-like look and feel.

Cygwin is:

  • a collection of tools which provide a Linux look and feel environment for Windows.
  • a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality.

Cygwin is not:

  • a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
  • a way to magically make native Windows apps aware of UNIX® functionality like signals, `ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE and Windows NT4.

Official Website: http://www.cygwin.com/

Useful Links:

7878 questions
3
votes
0 answers

Cygwin django runserver - segmentation fault (core dumped)

I am running the Django test server from a virtualenv - necessary to use supervisord to run Celery as a background process. When I try: "python manage.py runserver" from the cygwin shell I get the message "segmentation fault (core dumped). The…
Jason Hawkins
  • 625
  • 1
  • 9
  • 24
3
votes
1 answer

Heroku commands on Cygwin hangs

I am trying to use Heroku commands on Cygwin but they seem to not do anything, but hang. I installed the Heroku toolbelt for Windows. Doing the $ heroku version gives me heroku/toolbelt/3.10.5 (i386-mingw32) ruby/1.9.3. But whenever I try a $ heroku…
The Nomad
  • 7,155
  • 14
  • 65
  • 100
3
votes
3 answers

Fail to install mysql on cygwin, No curses/termcap library found

Fail to install mysql on cygwin. When do ./configure, experienced following error: checking for termcap functions library... configure: error: No curses/termcap library found any idea?
teleme.io
  • 815
  • 3
  • 10
  • 21
3
votes
2 answers

Issue on file existence in C

Here is my code which checks if the file exists : #include #include #include #include int main(int argc, char *argv[]) { char *path=NULL; FILE *file = NULL; char *fileSeparator = "/"; size_t…
name_masked
  • 9,544
  • 41
  • 118
  • 172
3
votes
2 answers

Making xargs work in Cygwin

Linux/bash, taking the list of lines on input and using xargs to work on each line: % ls -1 --color=never | xargs -I{} echo {} a b c Cygwin, take 1: $ ls -1 --color=never | xargs -I{} echo {} xargs: invalid option -- I Usage: xargs [-0prtx]…
LetMeSOThat4U
  • 6,470
  • 10
  • 53
  • 93
3
votes
1 answer

Can't login to heroku with mintty

When I run heroku in mintty (tried both mingw and cygwin) it's do nothing, no e-mail promt. But when I run heroku via bash (mingw or cygwin) it's act as expected (ask my heroku credentials). Whats wrong with mintty. Also tried with clear minttyrc…
remtsoy
  • 465
  • 1
  • 3
  • 15
3
votes
1 answer

Can't find the NDK tab

I saw in some tutorial mention that we don't need to install cygwin after ndk 7. I had install the ndk 10, in tutorial it say we had the setup the ndk path in eclipse, the problems is i can't find ndk in my eclipse. & I NDK website also mention…
user2301281
  • 757
  • 2
  • 12
  • 27
3
votes
1 answer

Winpcap Developer Usage with Cygwin C++ & Netbeans IDE

Looking to get the Winpcap developer pack (4.1.2) running on Windows 7 64-bit. I'm programming in C/C++ in the Netbeans IDE with the Cygwin (4.1.10) compiler. I'd like to directly pull some GPS data from UDP packets instead of using another…
3
votes
3 answers

python import cx_Oracle error on cygwin

I tried to install cx_Oracle from pypi source since there is no available port for it in cygwin. I did make some changes as suggested in http://permalink.gmane.org/gmane.comp.python.db.cx-oracle/2492 and modified my setup.py. However, I still get…
ZeroGraviti
  • 1,047
  • 2
  • 12
  • 28
3
votes
2 answers

Python 3.4 command not found

I'm trying to do a doctest, I used the cd command in cygwin to navigate to where my .py file is located and then entered this command: python3 -m doctest file.py and I get this error in return: -bash: python3: command not found'. I'm on Windows…
BunkerHer
  • 33
  • 1
  • 4
3
votes
2 answers

lsusb in cygwin environment not working

I have downloaded and installed Cygwin in Windows 8. I connected a USB device and was trying to access it in Cygwin environment. On typing lsusb i am getting below error. It says lsusb command not found -bash: lsubs: command not found I googled and…
Unicorn
  • 293
  • 1
  • 4
  • 12
3
votes
2 answers

How to redirect output when running a exe through cygstart command .

I am running a node generated exe binary in cgywin . But it gives error https://github.com/joyent/node/issues/804 -- checkout the last comment. It works fine in windows cmd , so I am using cygstart command . But the issue is I cant get the logs…
yeshwant singh
  • 144
  • 1
  • 5
3
votes
0 answers

cmake in cygwin: cyglto_plugin.dll not found

I am trying to get a Fortran 90 program to compile under Windows. I have already successfully done so under Linux. I am using the 'Babun' windows shell, which is basically a wrapper for cygwin: https://github.com/babun/babun When I try and run…
meepmeep
  • 3,018
  • 7
  • 33
  • 47
3
votes
1 answer

Maven release plugin can't commit - E155010 with node path having path twice - Cygwin & DOS

I'm having issues with my maven and svn set up. I have recently been playing with git and now I'm seeing issues with SVN. I have a feeling an install forced SVN to update, but it doesn't look to be the case from the look of my installed software. I…
Dan Temple
  • 2,736
  • 2
  • 22
  • 39
3
votes
1 answer

PhantomJS: cygwin returns different JS date than windows cmd

I'm seeing something strange when running PhantomJS through Cygwin versus a windows command prompt. Specifically, the value of a JavaScript Date object returned is different depending on the terminal you running out of. I'm using a Win7 64bit…
hartpdx
  • 2,230
  • 2
  • 15
  • 18
1 2 3
99
100