cygwin

gdb not showing code within emacs on Windows

I asked a question just yesterday which caused this new issue. http://stackoverflow.com/questions/1424231/gdb-within-emacs-on-windows Basically I was installing a QT sdk which asked me to uninstall MSYS which I did & I hosed my emacs/gdb interaction. Here is the gdb_init file that I'm using. Before the uninstall of MSYS this work...

GitHub noobian, should I install msysGit or Cygwin?

I intend to use GitHub with Git Extensions and possibly integrate with FogBugz (optional). Looking at the download page and reading some rather technical half related questions I wanted to see what you thought would be better to install on Windows 7, given I want to integrate with Visual Studio 2008 (thinking this would be through GitEx...

Eclipse CDT with Cygwin GCC: automatic discovery of symbols and paths

I am using Eclipse CDT with Cygwin GCC as compiler. My project is using a custom Makefile.The problem is that when debugging the code, it couldnt locate the source files, even though I added a custom path mapping for: /cygdrive/c <-> c:\ That in addition to the fact that I am getting "unresolved inclusion" for all standard header files,...

Cygwin SVN symbolic link checkout broken

I've installed the latest version of Cygwin on Vista with SVN, Make and GCC in the installation. When I SVN checkout from a repository with some symbolic links in it, the symbolic links are not converted to symbolic links on Cygwin, rather they are just left as regular ascii files with "link ../../blah/blah" inside them. SVN proplist of...

Libraries "rt" and "dl" in Cygwin

Perhaps this is stupid but I'm unable to find out which package I have to install in Cygwin to fix the following missing libraries: config.status: creating unix.buildinfo config.status: creating include/HsUnixConfig.h cabal.exe: Missing dependencies on foreign libraries: * Missing header file: HsUnix.h * Missing C libraries: rt, dl A...

Help with GCC and ObjectiveC code and Cygwin

Is it possible to build objective c code correctly with GCC under cygwin. I have the following application that should work on a Mac environment, but can't get the most basic stuff to work with gcc. Are there more libraries I need to have. #import "HelloWorldApp.h" int main(int argc, char *argv[]) { return 0; } // End of the //...

Compiling with gcc (cygwin on windows)

I have cygwin on windows through which I run gcc. But after creating .exe files, if I run them on other computers which dont have cygwin, it says cygwin1.dll not found. Is there a way to compile them so that they run on any system? ...

fork with gcc on windows

I am using fork in my program on windows using gcc (cygwin). It runs fine on my system. but I want to run on other systems which dont have cygwin. How can I do that? ...

printf executing .exe files in cygwin

so i had an assignment requiring me to 'break' a piece of vulnerable code. snippet: int main(int argc, char **argv) { /*...*/ while(i < argc-1) { switch(argv[i][0]-48) { case 1: SmashHeap(argc,argv); break; /*...*/ case 8: PrintfVulnerability(argv[++i]); break; default: printf("%s ...

How do I use my .vimrc file in Cygwin?

I just installed Cygwin on my work machine and would like to use the .vimrc file I use on my Linux box at home. Is that possible, or does it need to have Cygwin-specific settings? Where would I put the .vimrc file? I'm a little unsure of what directory I'm being dropped into at the bash prompt under Cygwin, but I think I'd create a s...

How can I change my Cygwin home folder after installation?

I just installed Cygwin, and it looks like the home directory in the bash prompt is on my Z: drive. That's not where I want it. How can I change this? ...

Why am i not able to link my C/C++ libraries with NetBeans?

I've downloaded C/C++ libraries from Cygwin, and set the environment variables according to the instructions here, in NetBeans. I've also gone through this. Actually I followed the same steps on a different machine and everything worked out fine. But on my machine the associations aren't made. for example: #include<stdio.h> says No suc...

java -- compiling with a .Jar file -- help?

Hey, I'm trying to compile my class along with a provided .jar file which contains classes that my class will use. This is what I've been trying: javac -classpath .:WordSearch.jar WordSearchSolver.java And this is the response: WordSearchSolver.java:16: cannot find symbol symbol : class PuzzleWord location: class WordSearchSolver ...

Using GSL with cygwin g++

Hello, trying to get the Gnu Scientific Library (gsl) to work in cygwin g++. Cygwin is installed and updated with all default parameters and includes gsl:runtime, gsl-apps and gsl-doc. I am trying the example program given in the gsl website: http://www.gnu.org/software/gsl/manual/html%5Fnode/An-Example-Program.html include #inclu...

overriding pthread_create using LD_PRELOADed DLL in Cygwin

I'm on Windows XP with Cygwin, and I've compiled a DLL that overrides some pthread functions, e.g. pthread_create. LD_PRELOADing this library into a Cygwin application should make this application use my functions instead of standard ones. (See [1].) However it does not happen. I know that the library is loaded, because I've put printf ...

add tar/gzip to windows command line

As the title says - anyone know of a method to add tar/gzip to the command line in Windows? I've installed Cygwin - but don't know if I have to add something to the PATH env variable to get tar as a cmd option ...

SSH Private Key Permissions using Git GUI or ssh-keygen are too open

Recently I've been unable to clone or push to github, and I'm trying to find the root cause. This is on windows I have cygwin + git as well as msysgit. Msysgit was installed with the following options: OpenSSH Use Git from Windows Command Prompt That gives me 4 environments to try to use git in: Windows cmd prompt Powershell Git...

Opening Large (24 GB) File In C

I'm trying to read in a 24 GB XML file in C, but it won't work. I'm printing out the current position using ftell() as I read it in, but once it gets to a big enough number, it goes back to a small number and starts over, never even getting 20% through the file. I assume this is a problem with the range of the variable that's used to s...

Cygwin Bash, loading a history file

I use Cygwin's bash shell (bash -i) daily for common tasks. In my .bashrc file, I have the following: history -rc bashcommands.history history Above the first prompt line, I see the list of history commands from bashcommands.history, so it looks like the history has been changed. However, if I now enter "history" at the prompt, it s...

How do I install gfortran (via cygwin and etexteditor) and enable ifort under Windows XP?

I'm a newbie in the Unix world so all this is a little confusing to me. I'm having trouble compiling some Fortran files under Cygwin on Windows XP. Here's what I've done so far: Installed the e text editor. Installed Cygwin via the "automatic" option inside e text editor. I need to compile some Fortran files so via the "manage bundles...