cygwin

Unable to run c/c++ exe from eclipse RCP

I am trying to run my c/c++ .exe from eclipse RCP (Java API). Code: package com.jkt.rcp.texteditor.handlers; import java.io.IOException; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; //import com.jkt.runner.utils.Test; public c...

How to force mysql.exe to run in "interactive" mode?

I'd like to get emacs sql-mysql mode working in windows xp. I'm able to enter sql-mysql mode and connect to mysql database successfully. The problem is that the SQL buffer doesn't show the "mysql>" prompt. In other words, it's not interacting with mysql.exe. I think it's because the mysql.exe program is going into "non-interactive" mode...

How do I make my cygwin .xinitrc wait for the X server to exit?

I'm using Cygwin's startx and want to customize my xinitrc so that I don't get any "magic" X programs on screen, i.e., programs that will cause the X server to terminate if I exit them. I don't want any X programs to start up on screen at all, actually; I just want to use the XWin menu, customized from my .XWinrc . Ordinarily from a .x...

Running genhtml using cygwin Perl.exe in Windows

Hi all: I'm trying to run genhtml using perl.exe from Cygwin in Windows. I have installed cygwin and placed genhtml in the bin directory of cygwin. I went to that directory and used the command line in Windows: perl genhtml abc.dat where abc.dat is the name of the lcov file for genhtml. However I got an error saying: Reading data...

c# cywgwin mono mkbundle windows 7 - cannot compile file

Hi, I'm trying to follow the following post to build a c# app with mono embedded, using cygwin. I am following the guide here: http://stackoverflow.com/questions/1321207/how-to-convert-a-simple-net-console-project-a-into-portable-exe-with-mono-and-mk The error I am receiving is: "gcc: the -mno-cygwin flag has been removed; use a m...

Need help troubleshooting vi + cygwin issue

Hello. I've just added vim to my current Cygwin installation, and it doesn't work properly. The problem is: when I type vim <Enter> it opens Vim with the help splash screen (in color) - OK. I then try to exit with :q , and it sleeps a couple of seconds, then it exits but when I type a character at the command line it pre-pends a spuri...

Increasing Cygwin's memory allocation

I just added a ton of images to my local git repo. As a result, when I try to push to our remote repo, I get the error: fatal: out of memory, malloc failed76) My hypothesis is that this is due to a lack of memory allocated to Cygwin. I've tried to increase Cygwin's memory by following these instructions but i can't find the registry...

Why does Git.pm on cygwin complain about 'Out of memory during "large" request?

Hi, I'm getting this error while doing a git svn rebase in cygwin Out of memory during "large" request for 268439552 bytes, total sbrk() is 140652544 bytes at /usr/lib/perl5/site_perl/Git.pm line 898, <GEN1> line 3. 268439552 is 256MB. Cygwin's maxium memory size is set to 1024MB so I'm guessing that it has a different maximum memor...

Get Cygwin installation path in a Python script

I'm writing a cross-platform python script that needs to know if and where Cygwin is installed if the platform is NT. Right now I'm just using a naive check for the existence of the default install path 'C:\Cygwin'. I would like to be able to determine the installation path programmatically. The Windows registry doesn't appear to be an ...

Cygwin in Visual Studio

I'm trying to port an old program I wrote for class from KDev in Ubuntu to Windows Visual Studio 2008 using Cygwin as a personal learning exercise. I have the include path configured to include C:\cygwin\usr\include but it doesn't read the .h files properly. Namely I'm curious as to how one would go about using unix sockets.h functional...

How to get cleartool diff to return to command line while diff viewer is still open?

As described in one of the answers to SO question "Any way to use a custom diff tool with cleartool/clearcase?" I have installed WinMerge and a single diff opens fine in WinMerge based on a command of the form cleartool diff -g filename filename@@clearcase-virtual-path-to-version-I-want-to_compare-to But when I run that command in cygw...

Installing cygwin with compilers and development packages

I need to compile kannel for windows and I installed cygwin. It says I don't have compilers to compile with cygwin. How do I resolve this ? Is there any full-featured cygwin image available anywhere on the internet ? Please help. SOS! I'm following this tutorial to compile kannel with cygwin. http://saurabhsachdeva.wordpress.com/2008...

Use PuTTY as a local terminal emulator?

Currently, I use PuTTY for SSHing into my linux server and Cygwin for local development when working on my Windows machine. Sadly, the terminal emulator that comes with Cygwin doesn't approach the quality of the excellent terminal emulator that comes with PuTTY. And it occurs to me that there really shouldn't be any conceptual difference...

mono mkbundle windows

Hi, I've used mono mkbundle on cygwin, to compile a dot net app, and it works fine. I used the instructions from here http://stackoverflow.com/questions/1906843/c-cywgwin-mono-mkbundle-windows-7-cannot-compile-file The finished app will not run unless the following files (copied from the mono/bin) folder are in the same folder as the ...

Running an application, compiled in cygwin, without having cygwin installed.

Let's say I have an application which I compiled under cygwin, and I want to distribute that application without having the user to install cygwin. Would it be enough to package the executable and the cygwin DLL? ...

Cygwin port not working => exits immediately on launch

Hi, I am trying to port a C++ program from Linux to Windows using cygwin. I have it building and linking fine now, but when I launch the program, it exits immediately with an error. When I try it in gdb, I get the following 'unknown target exception' result: $ gdb ../../bin/ARCH.cygwin/release/myApp GNU gdb 6.8.0.20080328-cvs (cygwin...

Redirecting standard output to new file adds strange character to end of filename in cygwin

I'm having trouble with a shell script in Cygwin. The specific command that's causing the problem is this: sed -e "s/6.0.[0123456789]\{1,\}/6.0.${REV}/g" "path/to/file/config.xml" > "path/to/file/config.xml.tmp" The problem is that the file is being created with a strange character at the end, so instead of being named config.xml.tmp,...

cygwin programming

how do you compile java progrmas in cygwin? ...

cygwin and java

i am new to cygwin..what are the normal steps that are followed while setting classpath and all for running programs in cygwin? ...

eclipse and cygwin

i am trying to run a program in hadoop-0.20.1 with cygwin. while starting the 5 nodes my datanode,jobtracker and tasktracker are getting shut down automaticaly. what could be the reason? the name node and secondarynamenode are not starting fully as well. ...