Все вопросы: [cygwin]

234 вопросов

похожие теги:
1
голосов
1ответов
1547 просмотров

git & Cygwin - trailing whitespace causes "not uptodate"

Git on Windows w/ Cygwin is fraught with dangers. However there's one that's really starting to bug me. It's related to the core.autocrlf=true behaviour. After spending a week trawling the 'net it became clear that the problems you'll encounter are less bad with this set. However, if a file has ...

1
голосов
2ответов
4598 просмотров

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...

9
голосов
6ответов
1417 просмотров

Doing file operations with 64-bit addresses in C + MinGW32

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 ...

245
голосов
25ответов
261352 просмотров

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 g...

1
голосов
4ответов
5735 просмотров

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

4
голосов
1ответов
6184 просмотров

Using GSL with cygwin g++

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_node/An-Exampl...

0
голосов
3ответов
5122 просмотров

Why can't I compile my java file on cygwin, when it needs classes from a jar?

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 PuzzleWo...

0
голосов
2ответов
443 просмотров

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. ...

121
голосов
7ответов
171512 просмотров

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?

26
голосов
9ответов
34732 просмотров

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 promp...

0
голосов
3ответов
839 просмотров

printf executing .exe files in cygwin

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]);...

0
голосов
1ответов
792 просмотров

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?

8
голосов
5ответов
13602 просмотров

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?

4
голосов
1ответов
9916 просмотров

Net Start SSHD HELPMSG 3534

I am trying to setup Git on a Windows box and so far all appears to be working ... except this: net start sshd gets the error NETHELPSMG 3534 When I type cygrunsrv --start sshd I get QueryServiceStatus: Win32 error 1062 Any ideas how to fix this?

5
голосов
3ответов
6779 просмотров

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 *...

3
голосов
2ответов
1364 просмотров

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: ...

1
голосов
1ответов
994 просмотров

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 ../....

5
голосов
1ответов
19195 просмотров

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

I am using Eclipse CDT with Cygwin GCC 3 as compiler. My project is using a custom Makefile. The problem is that when debugging the code, it couldn't 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 ...

7
голосов
5ответов
2858 просмотров

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 ...

0
голосов
2ответов
615 просмотров

gdb not showing code within emacs on Windows

I asked a question just yesterday which caused this new issue. 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 w...

1
голосов
2ответов
1203 просмотров

gdb within emacs on Windows

I'm running Emacs 22.3 in Windows. Earlier today I had gdb working within Emacs just fine. I was installing QT4 and during the installation it asked me to uninstall MSYS which I quickly clicked through not thinking about things. I think I had gdb installed with the MSYS package and Emacs was u...

21
голосов
3ответов
9634 просмотров

Using bash(cygwin) inside C# program

i need to use bash shell "inside" C# program. I want to mimic user typing in interactive mode and running cygwin commands. i created a process that runs bash and redirect stdin,stout and std error but i can;t get tty to work attached is a sample code that starts bash process and redirect the inp...

2
голосов
1ответов
1098 просмотров

Cygwin gcc - asm error:

I have a project written in C that originally was being done on Linux, but now must be done on Windows. Part of the code include this line in several places asm("movl temp, %esp"); But that causes an "undefined reference to `temp'" error. This has no problem compiling on Linux using the gcc ...

0
голосов
3ответов
1177 просмотров

Why can't Cygwin CVS read the CVS password file in a Ruby/Perl script?

On the Windows command line and cygwin bash I can execute the following without problems: cvs login cvs -Q log -N -rVersion_01_00 A ruby script in the same directory contains the following: `cvs login`; `cvs -Q log -N -rVersion_01_00`; When I execute the ruby script on the Windows command l...

3
голосов
6ответов
3815 просмотров

simple shell script in cygwin

#!/bin/bash echo 'first line' >foo.xml echo 'second line' >>foo.xml I am a total newbie to shell scripting. I am trying to run the above script in cygwin. I want to be able to write one line after the other to a new file. However, when I execute the above script, I see the follwoing ...

1
голосов
1ответов
2032 просмотров

Building iPhone for WindowsXP with Cygwin

"Write native iPhone applications using Eclipse CDT How Windows and Linux developers can bypass the iPhone SDK and write iPhone apps using open source tools" by PJ Cabrera ([email protected]) I was following the instructions from this document and thought I made it pretty far, but I get an err...

0
голосов
2ответов
2318 просмотров

problems using STL std::transform from cygwin g++

I am running g++(gcc version 3.4.4) on cygwin. I can't get this small snippet of code to compile. I included the appropriate headers. int main(){ std::string temp("asgfsgfafgwwffw"); std::transform(temp.begin(), temp.end(), temp.begin(), ...

82
голосов
7ответов
26707 просмотров

cygwin command to copy to windows clipboard

I see here: http://www.pgrs.net/2008/1/11/command-line-clipboard-access that there's a way in linux and osx to copy to the clipboard from the command line. So I ran my cygwin setup.exe, but couldn't find the xsel package. I'm guessing maybe this package hasn't been ported to windows? Looks l...

0
голосов
2ответов
1895 просмотров

How i run cygwin using java program?

I have installed cygwin on window to start crawling. It work well. Now i want to run cygwin and run a crawl program at starting of cygwin using java program code. If you provide some code for it ,it will be great help for me.

2
голосов
2ответов
1010 просмотров

Embedding Windows Python in Cygwin/GCC C++ program

I am currently working on a Cygwin/GCC application written in C++. The application requires embedding of python to run plug-ins, I've successfully embedded using the Cygwin python libraries and was able to run simple python files as part of the program. However, the python files now require the u...