This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: program compiled with gcc doesn't print; cygcheck -s shows ssh and vi are missing, how do I get them


Use 
$./a.exe
in the directory that has a.exe. 

Try running 
$which ssh
/usr/bin/ssh will be the output.
Check your mount. Run mount to check /usr/bin where you will find ssh
and vi binaries.

$mount


-Ashwin
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Ron Ratney
Sent: Thursday, June 07, 2007 7:38 PM
To: cygwin@cygwin.com
Subject: program compiled with gcc doesn't print; cygcheck -s shows ssh
and vi are missing, how do I get them

Two questions:

two very short C programs compiled OK by gcc but do not produce output. 
When I try to run a.exe I get the error message that the program can't 
be found.

I ran cygcheck -s which found some missing components, most of which I 
was able to get through setup. But I can't find ssh or vi. Will either 
of these help printf actually print?

Ron Ratney

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]