cygwin

Running all NUnit tests in all assemblys from Cygwin command line

Hey all, I'm trying to create a short bash script someone could run in cygwin to execute all nunit tests in a .NET project using nunit-console. Currently i have the system version of nunit aliased to "nunit" so if i run "nunit" it will execute nunit-console. My first step was to try and find all the test assemblies recursively. This ...

alt-b, alt-f does not work in xterm

I use xterm under cygwin/Xming. Alt-B (jump one word backwards) and Alt-F (one word forward) do not work, but instead display some diacritical characters or something. I have created a file .Xresources and a file .Xdefaults in my home dir, each containing only this line: xterm*eightBitInput: false Yet the problem persists. ...

How to use BeyondCompare from git mergetool in cygwin?

How to use BeyondCompare from "git mergetool" in cygwin? ...

Compile stand alone exe with Cygwin

I want to make a stand-alone exe with cygwin. I have two options: Staticly link cygwin1.dll If I can statically link cygwin1.dll, then I can get a stand-alone exe. Merge cygwin1.dll with myprog.exe If I can merge cygwin1.dll with my program, the I can get a stand-alone exe. Do not suggest that I use IlMerge. This will not work beca...

Runtime.getRuntime().exec("C:\cygwin\bin\bash.exe") has no input to read

I'm trying to execute a new process and read from its input stream in Java. I have successfully used Runtime.getRuntime().exec(String) to start and receive input from several processes. However, when I try to use exec on some other processes, the input stream's read method blocks, and it appears that there is no input. What might be caus...

Header file not found when building under cygwin

I am trying to build a certain library under cygwin (OpenEXR), and I get the following error: b44ExpLogTable.cpp:52:18: error: half.h: No such file or directory half.h is referenced using #include <half.h>, and is actually a part of another library I successfully run make/make install on previously. The question is -- when using #inc...

How do I install cURL on cygwin?

I tried to enable curl on cygwin but it says bash: curl: command not found How do I install curl on cygwin? ...

How to make symbolic link with cywin in window 7

Within these day I have tested to write Android application with native code C/C++. The problem is in making symbolic link when using Android NDK. After making googling, some say to use cywin. I have installed it now. Please tell me how to make symbolic link with cywin in window 7. Thanks in advance, ...

redhat cygwin vs cygwin ? any diffrence ?

i just notice that there is a redhat cygwin at http://www.redhat.com/services/custom/cygwin/ , is there any difference ? 1 . redhat builds cygwin so its faster. (5:15:46 AM) adamramadhan: version ? (5:15:53 AM) adamramadhan: 1.8 and 1.7.7 ? (5:15:59 AM) adamramadhan: why can that happen ? (5:16:17 AM) snoopy left the room ("Saliendo")...

Cygwin boost comes with new g++ which seems to break my code... why?

Setup: I installed Cygwin with the GNU programming lineup (gcc, g++, make, and gdb) and successfully compiled an ran a program that I was working on. Then I decided to install boost into Cygwin because I will need to use typical boost stuff as my program develops. So, using the Cywing setup.exe, I installed boost. After this, the pro...

Link error using Cygwin toolchain

Hi. I need to use Cygwin to compile C++ code for an Android project. I'm having trouble compiling even a basic "hello world" program. The console gives me this message: /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: unrecognized -a option `ware' I've googled the error and the only result I've found was an issue...

"Git Clean -fdx" recovery... possible?

hi guys, I probably did a huge mistake. relevant system info: Windows XP SP2 i686 Cygwin 1.7.6 git 1.7.1 I was trying to create an empty branch on a newly created git repository, here are the commands I just issued: git init git symbolic-ref HEAD refs/heads/klist rm .git/index <---- this command failed obviously, there was no ...

building a gl3 app under cygwin

i've got a small opengl 3.2 app that i've been developing on linux using the standard gnu tools (gmake/gcc). the code seems pretty portable--i had no problems running it on osx until i started using gl3 features that the mac mini gl drivers don't seem to support. i've got a bootcamp partition with windows xp on the same mini, and i'd lik...

error C3861: 'strcasecmp': identifier not found in visual studio 2008?

im trying to port application from cygwin to visual studio 2008 express but im getting this error : error C3861: 'strcasecmp': identifier not found in this type of code: if (!strcasecmp("A0", s)) .... what is the replacement in vs? i can't find any thing in the net ...

Why does CygWin's "mount.exe" lock-up when running while my Android phone is connected?

I've been trying to reboot (WinXP) all evening, and Emacs (Win32, v23.something, not important) isn't starting... sometimes... it's locked on mount.exe (loads up some cygin things during launch), I finally notice. Can't kill mount.exe via ProcessExplorer, either. Killing Emacs kills emacs, and leaves the child process still hanging aroun...

How do you compile a PHP extension on windows with cygwin/mingw?

I am trying to build the RabbitMQ PHP wrapper and the AMPQ PHP wrapper on Windows (64) using Cygwin. I have successfully built the underlying C library (librabbitmq.dll) but I am stuck at the 'phpize' step: phpize && ./configure --with-rabbit && make && sudo make install If I understand correctly, there is no 'phpize' on windows, so ho...

Regex (grep) for multi-line search needed

Hi all I'm running a grep to find any *.sql file that has the word select followed by the word customerName followed by the word from. This select statement can span many lines and can contain tabs and newlines. I've tried a few variations on the following: $ grep -liIr --include="*.sql" --exclude-dir="\.svn*" --regexp="select[a-zA-...

Undeletable file in cygwin

A command I executed in cygwin hosed up a bunch of files. Now I cannot delete them. Omitting most of the 'ls' output, here is what I'm dealing with: % ls -l ls: cannot access WSERV001.txt: No such file or directory -rw-r--r-- 1 mccppk mkgroup-l-d 50 Sep 17 16:57 WSERV001.text ??????????? ? ? ? ? ? WSERV...

is there a compatible TCL environment variable for cygwin and python idle

Idle stopped working after installing cygwin and after some troubleshooting (on windows if its not obvious), it looks like the issue is with a TCL library. They both use an environment variable to locate tcl. when I installed cygwin, it overwrote the variable to a different (and incompatible to python) version. Now I figure I can just ch...

How to compile from gVim on Windows with GCC from Cygwin and then run the program?

I've been working at this all morning and I still can't find a way to easily bind a key to compile my program from the Windows version of gVim using the Cygwin GCC, and then run it. I'm kind of a novice to Bash scripting, and I haven't been able to make it create the .exe in the home directory (C:/cygwin/home) and then run it. What I h...