cygwin

Running Active State Perl command-line debugger from cygwin

Possible Duplicate: Running Active State Perl command-line debugger from cygwin I would like to use cygwin tools (screen..) for development and invoking ActiveState Perl debugger from cygwin environment throws the following error. bash-3.2$ perl -d test.pl The system cannot find the path specified. Unable to get Terminal Size. ...

Cygwin compiling error: "this application has requested the runtime to terminate it in an unusual way"

I am trying to run Cygwin, and I am running into some problems. I tried to compile a program that works both on Windows with mingw and on a Unix system, but when I go to compile it through Cygwin: gcc threads.c -o threads I get the error: this application has requested the runtime to terminate it in an unusual way And that's it... a...

vim mapping :w with a shell command

First poster here at SO. I'm currently using cygwin with external gvim. I got this in my vimrc autocmd FileType sass setlocal shiftwidth=2 tabstop=2 map <F5> <Esc>:w<CR>:!sass %<.sass %<.css<CR><CR> I want to work just like a normal :w while also running sass, how do i do that? And also, when running this in my vimrc, I always hav...

Cygwin in Windows 7

Hi, I am a fan of linux but due to worst intel wireless drivers in linux, I had to switch to windows 7. I have installed cygwin in windows and want to configure ssh, to remotely connect to my laptop. I googled and found this webpage, http://art.csoft.net/2009/09/02/cygwin-ssh-server-and-windows-7/ I am getting the following error whe...

Cygwin memory problem, only swap is being used?

Hi, I am porting a rails application to Win2K3 server, with cygwin. The application is up and running, but start to respond slowly very soon. I find that cygwin is only allocating swap to all process ( with top ), not using the 2GB memory available. Even Windows Task Manager shows high CPU usage but lots of free memory. How can I track...

cygwin & cygcheck

Hi All, I want to know about cygcheck utility of cygwin. How can I use it to extract all the class hierarchy and dependencies with the help of cygwin? Thanks ! P.S: Any tutorial that you can point out that shows how to use it for dependencies ...

How do I get virtualenvwrapper and cygwin to co-operate?

I am trying to get virtualenv[wrapper] to work on my windows machine through cygwin. The install is successful, together with easy_install, from these directions: http://www.doughellmann.com/docs/virtualenvwrapper/. The problem comes in when I use the mkvirtualenv [name_of_vir_env]. I get the following output: Blockquote bash-3.1$ ...

Core dump analysis using gdb

I have a couple of questions regarding core dumps. I have gdb on Windows, using Cygwin. What is the location of core dump file? Is it a.exe.stackdump file? (This is the only file that generated after crash) I read on other forums that the core dump file is named "core". But I don't see any file with name "core". What is the command for...

How do I use cygwin to cross compile to linux, when I have an application that needs libX11.so, libGL.so, and libGLU.so?

Will I have to use the crosstool that cygwin provides to make the libX11.so, libGL.so, and libGLU.so libraries using their respective source code? Or do you know where I can find them compiled already for crosstool (I'm new to this cross compilation)? Just for clarification: I'm on a windows 7 machine trying to get my application also t...

doubt in cygwin commands

how to go into the environment of "c". when using cygwin... please tell me the commands to go into the c environment.... ...

cygwin multi-threaded c++ debugging with netbeans

When I debug my program with netbeans using cygwin's g++, when it receives a sigabrt, I can't see my code anywhere in the call stack of any of the threads. Most of them are at ntdll!RtlEnableEaryCriticalSectionEventCreation() and one in RaiseException(). The problem is that after these there are only either some win32 functions without a...

No acceptable C compiler found in $PATH?

Hi all, I want to install Kannel gateway on windowsXP.For that i downloaded the cygwin and installed.After that when i want to configure the kaneel i got the following errors.I set the PATH as C:\cygwin\bin;C:\libxml2-2.6.30+.win32\bin; Running system checks ... checking build system type... i686-pc-cygwin checking host system type... ...

login from cygwin to Mac OS X using xterm problem

open cygwin shell run ssh -Y user@MACOSXSERVER "No xauth data using fake authentication data for X11 forwarding" <-- Warning login MACOSXSERVER OK set DISPLAY=CYGWINIP:0.0 xterm & And I get the following error Xlib: connection to "CYGWINIP:0.0" refused by server Xlib: No protocol specified What went wrong? ...

cygwin's expect doesn't work with net use?

I need to automate the 'net use' command on cygwin. The command is 'net use /user:"name" \somewhere'. And 'Enter the password for 'name' to connect to 'prosseek':' is expected to enter the password. It works well with command line input, and when run inside batch file. It doesn't work when I make a expect script as follows. spawn net...

Cygwin's bash can't run 'net use /user' command?

I run 'net use /user:"Someone" \somewhere', and it works well with cmd.exe. With the same cmd.exe, run 'bash --login -i' to use the cygwin/bash, and run the same command but I get the error message as follows. System error 67 has occurred. The network name cannot be found. Q: Why can't I run 'net use /user' command with cygwin/bash...

Why does PuTTYcyg display â instead of hyphen in man pages?

I've been using PuTTYcyg as a Cygwin terminal, but it doesn't render dashes in manual pages correctly. For example, the top of man gcc looks like GCC(1) GNU GCC(1) NAME gcc â GNU project C and C++ compiler SYNOPSIS gcc [âc|âS|âE] [âstd=standard] [âg]...

Ideas for troubleshooting emacs error: "apply: Spawning child process: exec format error"

I'm trying to use rdebug with emacs and cygwin and I'm running into trouble. Whenever I do a M-x rdebug and give it the appropriate script to run, it stops with the error "apply: Spawning child process: exec format error" From some googling, it seems like this could happen if I'm trying to launch a cygwin executable via the windows ...

Release all open files and directories at exit forcefully in C

I want to release all open files and directories forecefully my program has opened during its execution. I want to do this because I have a very big program and it opens many files and directories which I am not able to keep track. Is there any way to do it? means I want to retrieve a list of all open files and directories and close them...

In emacs, how do I customise which shell is used to start processes when using M-x comint-run

I run emacs on windows. I use cygwin and I have cygwin versions of ruby and rdebug installed as well. When I invoke M-x comint-run ENTER rdebug ENTER, I noticed that it is attempting to run rdebug.bat via the Microsoft Command prompt, instead of using bash to run rdebug (without the .bat). I'd like comint-run to use bash to invoke any pr...

Cygwin and PHPUnit: Could not open input file: /cygdrive/c/xampp/php/phpunit

Hello, Is there a way to run PHPUnit from Cygwin? Everytime I run PHPUnit I get this error: Could not open input file: /cygdrive/c/xampp/php/phpunit I am trying to run my unit tests in my Zend Framework App. I am trying to use Cygwin because I am more familiar with *Nix commands (I'm no expert though) rather than Windows. Thanks, We...