I am using 'tail -f' to follow a log file as it's updated:
tail -f logfile
I next pipe the output of that to grep to show only the lines containing a search term ("org.springframework" in this case):
tail -f logfile | grep org.springframework
The third step I'd like to make is piping the output from grep to a third command, '...
I have several C free software/open source libraries that I develop on Linux and OSX with the GNU toolchain (automake, conf, flex, bison, gcc, ...) but I occasionally get requests to provide Windows DLLs. I'd like to be able to provide those without having to spend a lot of time and money with Windows Visual Studio development. I do ha...
I've installed cygwin environment on Windows.
There is gcc 4.3. How to install gcc 4.4 in this environment?
...
I'm enrolled in a masters computer science course. The course is using C and the instructor wants us to use Cygwin to compile programs if we are using windows.
I've downloaded and installed Cygwin and I've ensured that I've installed the GCC compiler.
But I don't know where to go from here. I need to compile a single source file that...
I'm a bit confused about the options for using GNU CC on Windows.
If I want to primarily develop console applications (as opposed to GUI apps) what do I need? Where do Cygwin and MinGW figure? For example, if I use the NetBeans IDE C/C++ option, that requires installation of Cygwin.
Are there any options which would allow Console appli...
Is there a java sdk for cygwin?
...
I am trying to set up an automated build system on Windows using Cygwin. Among other things, it needs to be able to build several Visual C++ solutions. I have a script which sets up the environment variables needed for devenv, and if I type 'devenv' in bash it brings up the Visual Studio IDE. No problems so far.
I am also able to buil...
I have tried all of this:
Changing coding system:
(prefer-coding-system 'iso-latin-1-unix)
Ensuring no translation:
(add-untranslated-filesystem "C:")
(add-untranslated-filesystem "D:")
Setting multibyte characters to nil:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could ...
From a Windows command prompt,
c:\>cabal install curl
Resolving dependencies...
Configuring curl-1.3.5...
cabal: Error: some packages failed to install:
curl-1.3.5 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)
I have installed Cygwin's curl-devel package, but from a C...
I am totally new to emacs and is starting to learn how to use it effectively.
The first thing I wanna use is the svn mode.
I downloaded psvn.el and put it in the ~/.emacs.d directory
Then following the instruction in the comment part of the psvn.el file, I put this line
(require 'psvn)
Into the .emacs file
This is my current .em...
I have a c++ Project that was compiled with the cygwin toolchain, now I want to use Eclipse to compile and test it.
If I create a project (cygwin toolchain is set in the options) I get the error:
make: *** No rule to make target `all'. 7wWin line 0 C/C++ Problem
In Cygwin I use:
cd $BUILDDIR
make
make install
Can Eclipse create i...
I have WinXP box and Cygwin installed on it. There are many network drive mapped on windows. when I execute mount command on windows (which uses the same mount executable as Cygwin) a get list of network mapped drives. But same when I do through Cygwin, I see only C: is mapped.
On Windows command prompt.
C:\CodeDance> mount
C:\cygwin\...
I understand the basic syntax of Objective-C, have installed Cygwin, and want to experiment. However i am unsure of two things:
What i would import, and
what the primitive type names are.
Can someone help me?
...
I want to add a couple of logging options to GNU make so I can see what is happening when building FireFox and friends.
I have the make-3.80 sources and a complete working Cygwin build environment. Starting with ./configure and the Make I get a working executable as expected.
Question: What configuration is required so the executable...
I have a windows xp machine set up with Cygwin running the ssh service, on that machine I have a bat script that opens up IE using the following command "C:\Program Files\Internet Explorer\iexplore.exe" "http://windowsxpbox:3000/flex/flexUnitTests?debug=true#automated=true".
The script runs fine when I'm calling it locally on that xp ma...
Im running Cygwin on XP, iv got a bash script that i would like to execute a media file but get the error "cannot execute binary file"
Is this possible? can cygwin call a media file like a mp3 or wav file
thanks
Donaldo
...
What is the most commonly used (simplest) C / C++ compiler used on Windows when using the NetBeans IDE (6.7)?
I want to write (mostly) simple C programs. I have Cygwin installed but for some reason NetBeans doesn't like it. I'm getting a error from it and before I try to figure this out, I thought I should find and (if needed) configur...
When I attempt to debug a simple program with gdb on cygwin I get the following:
C:\Users\Benoit St-Pierre\workspace_cpp\cs454>gdb a.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you...
I'm using NetBeans to develop some simple applications to solve puzzles. Upon launching one of these simple console applications, I'd like to get the input from a simple text file that I put together.
I recall mention of redirecting standard input and output. I looked up the syntax but I'm not sure on the proper way to tell NetBeans (o...
I have lots of directories with text files written using (g)vim, and I have written a handful of utilities that I find useful in Python. I start off the utilities with a pound-bang-/usr/bin/env python line in order to use the Python that is installed under cygwin. I would like to type commands like this:
%cd ~/SomeBook
%which pythonU...