Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AAFE6C7.EBB0F406@alum.mit.edu> Date: Wed, 14 Mar 2001 16:46:47 -0500 From: "John L. Bowman" X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Install&GCC use problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm trying to begin using cygwin and I can't figure out how to use GCC under cygwin. I did the following: 1. downloaded DLL 1.1.8 everything except source from ftp.nas.nasa..gov 2. ran setup.exe (version 2.29), choosing 'text' default file type and install for 'all', root d:\modlsoft\cygwin 3. started cygwin using desktop icon...cygwin.bat opened a dos window 4. opened a dos command prompt window. 4b. changed directory to a directory containing a simple source pgm named,Hello.cpp, containing the following code: //: C02:Hello.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Copyright notice in Copyright.txt // Saying Hello with C++ #include // Stream declarations using namespace std; int main() { cout << "Hello, World! I am " << 8 << " Today!" << endl; } ///:~ 4c. entered the command: gcc Hello.cpp -o hello.exe 4d. received message "Bad command or file name" 5. Reviewed user guide, FAQ and recent list archives to try to figure out my problem. 6. Ran cygcheck -s -v -r , but couldn't figure out how to copy the result from the cygwin window (I don't know UNIX) or I would have pasted it here. I'm operating under Win95 OSR2 Any suggestions to help me get going? Thanks, John B -- John L. Bowman 5 Beals Street Apt. 3 Brookline, MA 02446 USA voice: 617-232-3478 email: John_L_Bowman AT alum DOT mit DOT edu -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple