problem with cygwin


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers problem with cygwin
# 1  
Old 08-16-2007
problem with cygwin

hi...
i'm working on windows xp currently but i have to work on linux.
the problem is there is no internet in linux OS so i decided to use cygwin which (i was told) can be used for unix based commands to an extent in windows.i have to write c-programs and i'm using emacs as editor and g++ compiler.some commands like "ps -eo pid" are not working in cygwin when given "ps" it shows only two processes(bash,ps).why doesnt it show the processes of windows? i cant use putty or any other similar thing.

1)is there any way to overcome that problem?

2)and another doubt..when i compile using g++ ...it shows no error
but when i do that same with gcc it shows errors..why is that?

thanks a lot in advance
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cygwin setup old package problem.

Hi there, I am in need to compile an old project for cygwin, but it needs some old packages to compile. I tried to download the x86 setup.exe from cygwin web site. Then downloaded the old packages from various sites and put it in an empty directory I run the setup.exe file and install from local... (1 Reply)
Discussion started by: lucky7456969
1 Replies

2. UNIX for Advanced & Expert Users

Cygwin permission problem

I can't figure out why cygwin won't let me write a file to this directory. Any ideas? $ id uid=1007(jdbaldwin) gid=513(None) groups=513(None),0(root),544(Administrators),545(Users) $ ls -lad . drwxrwxrwx+ 1 jdbaldwin None 0 2010-09-29 12:47 . $ touch x touch: cannot touch `x': Permission... (3 Replies)
Discussion started by: jdbaldwin
3 Replies

3. UNIX for Advanced & Expert Users

Problem in cygwin

Hi All, I am using cygwin 2.697. When i was working with LAN its working fine. But when i am trying to working via ( Aventail Smart Tunnel), It close after 20 mins. But Exceed-10 is working fine, but it take more resource and its not freeware. so kindly help me in this regards. I have a... (1 Reply)
Discussion started by: rajamohan
1 Replies

4. Shell Programming and Scripting

Cygwin vi XML file encoding problem

Hi, I have got a zip (binary) file transferred from MacOS (thus it has additional __MACOSX directory packed inside). On extracting this zip, there are few *.xml files available. When I opened this *.xml file in vim editor using Cygwin (on windows) the editor displayed in the bottom. I tried... (4 Replies)
Discussion started by: royalibrahim
4 Replies

5. Windows & DOS: Issues & Discussions

Problem compiling C++ Code in Cygwin

Hello everyone. I just recently installed Cygwin and I am running it under Windows 7. My problem is that I cannot seem to compile any C++ code with g++. I've tried to compile C Code using gcc and that works just fine. But Whenever I try to compile some C++ code, g++ throws a whole bunch of... (6 Replies)
Discussion started by: Anlex
6 Replies

6. Shell Programming and Scripting

cygwin script problem windows

I'm using cygwin to make some scripts,but I have the following problem. If I create a simple script like this one: if echo "Error" exit 1 fi echo "`expr $1 + $2`" I obtain line 6: syntax error:unexpected end of file. If I create the same script with cat>filename.txt and execute it... (4 Replies)
Discussion started by: Max89
4 Replies

7. Shell Programming and Scripting

cygwin and remote find command problem

Sir, I want to get all the files in directory on a remote server which are dated newer than a specified file. I have ssh running and the command I am using is : for file_name in `ssh userid@IP find "/cygdrive/d/oracle/oradata/db/archive" -newer "1_44.DBF" -name '*.DBF' -type f -print | xargs -r... (2 Replies)
Discussion started by: nakod1
2 Replies

8. UNIX for Dummies Questions & Answers

Cygwin installation problem

hihi, im new here. just start to use cygwin as unix-based in Windows XP. my installation of cygwin is not success, it has procedure entry_impure_ptr problem due with ash.exe, install_info.exe, and In-exe files. do anyone know why is that so? (3 Replies)
Discussion started by: Suraine
3 Replies

9. UNIX for Dummies Questions & Answers

cygwin problem

Hi, I have install cygwin in my PC which is having Windows-XP. I am able to run c programm successfully using gcc compiler but when i am running c++ program it is giving the following error: $ gcc abc.cpp /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp:(.text+0xd): unde... (0 Replies)
Discussion started by: gauri_agr
0 Replies

10. UNIX for Advanced & Expert Users

terminal type problem with cygwin on aix

hey, I use cygwin to connect to AIX 5.2 but when I open vi I get an error saying: ex: 0602-108 cygwin is not a recognized terminal type how can I fix that? I thought cygwin was tty vt100? (1 Reply)
Discussion started by: rein
1 Replies
Login or Register to Ask a Question
LINUX-VERSION(1)					      General Commands Manual						  LINUX-VERSION(1)

NAME
linux-version - operate on Linux kernel version strings SYNOPSIS
linux-version compare VERSION1 OP VERSION2 linux-version sort [--reverse] [VERSION1 VERSION2 ...] linux-version list [--paths] DESCRIPTION
linux-version operates on Linux kernel version strings as reported by uname -r and used in file and directory names. These version strings do not follow the same rules as Debian package version strings and should not be compared as such or as arbitrary strings. compare VERSION1 OP VERSION2 Compare version strings, where OP is a binary operator. linux-version returns success (zero result) if the specified condition is satisfied, and failure (nonzero result) otherwise. The valid operators are: lt le eq ne ge gt sort [--reverse] [VERSION1 VERSION2 ...] Sort the given version strings and print them in order from lowest to highest. If the --reverse option is used, print them in order from highest to lowest. If no version strings are given as arguments, the version strings will instead be read from standard input, one per line. They may be suffixed by arbitrary text after a space, which will be included in the output. This means that, for example: linux-version list --paths | linux-version sort --reverse will list the installed versions and corresponding paths in order from highest to lowest version. list [--paths] List kernel versions installed in the customary location. If the --paths option, show the corresponding path for each version. AUTHOR
linux-version and this manual page were written by Ben Hutchings as part of the Debian linux-base package. 30 March 2011 LINUX-VERSION(1)