How do I compile my C++ programs in Cygwin. I have gcc installed. What command should I use? Also, how do I run my console application when it is in a .cpp extension. I am trying to learn C++ with some little programs, but in Visual C++, I don't want to have to create a seperate project for each little .cpp file.
...
I'm trying to build the srecord tools for the native windows, http://srecord.sourceforge.net/windows.html. I execute, CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ./configure. I get a failure as it is checking for boost libraries, see error text below. I installed the current verison of cygwin (as of 18-Nov-2009) including both the gcc and...
I'm trying to build OpenSSH 5.1 on Cygwin. I'm using the following configure command:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir='${sbindir}' \
--localstatedir=/var --datadir='${prefix}/share' --mandir='${datadir}/man' \
--infodir='${datadir}/info'
The configure command runs OK, but when I try to make I get this error:
...
Is it possible to ssh into Windows (through a cygwin sshd) and start a program on a logged in Windows user's desktop?
Put another way, say a user ABC is logged in on windows and a remote user logs in with ABC's login/password over ssh, can remote ABC pop up an app on the local ABC user's desktop?
I am asking this on Stackoverflow and ...
Cygwin licensing terms said that
"In accordance with section 10 of the GPL, Red Hat permits programs whose sources are distributed under a license that complies with the Open Source Definition [See http://www.opensource.org/docs/osd/ for the precise Open Source Definition and a list of the licenses certified by OSI as conforming to that...
I'm trying to compile a C program but I get the error 'RTLD_NEXT' undeclared. I think this is supposed to be defined in dlfcn.h which the c program includes, but when I looked inside dlfcn.h there is no RTLD_NEXT.
How do I fix this?
...
What other programs do the same thing as gprof?
...
What programs use gmon.out?
...
I installed GIT and Cygwin GIT client. When command window opens, and $ prompt appears, I type in:
Git Init
It says:
Baash: Command not found.
...
hi friends,how to add gdb to cygwin.I havw downloaded gdb tar package for cygwin from sourceforge.On extracting iot there are many files ,I pasted the gdb.exe file from the package in the bin folder of cygwin however its not working
...
Hello guys,
As a i'm new to the whole Piping thing and Python I had recently encountered a problem trying to pipe Cygwin's stdin & stdout into a python program usin Python's subprocess moudle.
for example I took a simple program:
cygwin = subprocess.Popen('PathToCygwin',shell=False,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
cygwin.s...
Hi so,
I've been having a lot of problems with emacs and trying to get the terminal to work with:
M-x term
I installed cygwin and I fixed up my .emacs to include the paths:
(setenv "PATH" (concat "c:/cygwin/bin;" (getenv "PATH")))
(setq exec-path (cons "c:/cygwin/bin" exec-path))
(require 'cygwin-mount)
(cygwin-mo...
I'm using idle (python 2.5) via cygwin on a windows vista machine and when I try to open an already existing .py file I see the full file path
/home/aaron/C:/cygwin/home/aaron/script.py
on the banner of the freshly openned file window when I expect simply
/home/aaron/script.py
In addition, the file appears blank which makes sense...b...
how can a complete novice such as myself set up her cygwin to have tab completion?
edit:
I do have it automatically. but It does not seem to complete paths. how do I set it up to complete paths?
thanks!
...
Hi,
I am trying to use a Ruby gem called shotgun that requires fork(2) command which I discovered is aa Linux command, and might be available in Cygwin. Is it possible to make it available through Windows command shell?
...
Here is the scoop:
command I am Invoking:
make -d
I get this error:
Finished prerequisites of target file `stopwatch.obj'.
Must remake target `stopwatch.obj'.
Creating temporary batch file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\make35562.sh
cl /I .\include /I "c:\Java\jdk150_13\include\win32" /I "c:\Java\jdk150_13\include" /Fo".\buil...
I'm trying to install PyQt4 so I can mess around with it. The installation guide said I had to install sip. The last step to installing sip is to use the make install command. Windows doesn't have that, so I looked it up and everything I saw said to install cygwin. So I did. But...sip is in C:\Python31\sip.
Can I run this from the cygwi...
I'm trying to use xargs on a Cygwin Windows system to remove SVN files deleted locally.
I run the following command that generates the following output:
svn status | grep '^\!' | sed 's/! *//'
weblings-webplatform\vendor\jetty-7.0.0.pre5\contexts-available\test-annotations.d\META-INF\MANIFEST.MF
weblings-webplatform\vendor\jetty...
I would like to open applications in cygwin, e.g. notepad etc, without the shell blocking. Is there a way of doing this?
For example, typing in notepad myfile.txt will open notepad, and the cygwin shell will be unavailable until notepad is closed. I'd like cygwin to remain responsive whilst notepad is open.
...
Is there some sort of general pathname-rewriting/normalizing facility I can exploit in Emacs to allow source files in compile-mode to be translated to local paths based on remote paths? I was hoping to use symbolic links, but that's not working for me in Windows.
I'm running GNU Emacs 23.1.1, and have tried cygwin-mount and w32-symlink...