delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/28/02:03:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000228071004.7294.qmail@hotmail.com>
X-Originating-IP: [206.63.146.161]
From: "Travis Brooks" <travis_brooks AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Anyone ever written something like a "Cygwin for the Unix Idiot" guide
Date: Mon, 28 Feb 2000 07:10:04 GMT
Mime-Version: 1.0

hi there

I downloaded cygwin last night, installed it (on Win95), put the bin on my 
PATH, and thought everything was working right.  I could compile and run 
everything from a dos window, until i tried something like:
// Call another program
#include <cstdlib>
using namespace std;

int main() {
  system("TheNameOfAnExecutableInThisDirectory");
}
///////////////////
And what i get back when i ran it was something like 
TheNameOfAnExecutableInThisDirectory: not found

I figured that there must be some sort of path problem (why else wouldn't it 
be found?) like setting the CLASSPATH for new packages in Java.  I poked 
around in the documentation and found bits of info sprinkled here and there 
about setting up the mount table in bash, this sort of sounded like it could 
be the source of my problem but i'm not sure.  I know the basics of mounting 
directories and cdroms and stuff in unix, but i'm confused about what i'm 
supposed to do here.  I typed "mount" in the bash window and all i get there 
is
mount: command not found
It seems that i need to do something before i can even get the bash to work. 
  Do you even need to use the bash shell to use cygwin? If i do need (or am 
strongly advised) to use bash, any pointers on how to set up a good .bashrc 
would be helpful too, but really all i want to do is get the executables 
executing.  Prior to downloading cygwin i was using djgpp (yes, i took it 
off the path) which seemed to just work the first time i tried it.

thanks for any help

-travis
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019