delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/03/01:36:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <13560435.post@talk.nabble.com>
Date: Fri, 2 Nov 2007 23:36:35 -0700 (PDT)
From: madskier8806 <madskier8806 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: GCC and C program use help
MIME-Version: 1.0
X-Nabble-From: madskier8806 AT gmail DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I am very very very new at this, just taking my first class in C programming
in UNIX.  Anyway, I am trying to use Cygwin, on my local machine since I
will be away from internet access and will not be able to connect to my
universities UNIX system.

I am having trouble getting my programs to run, I am testing and program I
know compiles and runs correctly.
This is what my command screen looks like

User AT ComputerName ~/Cygwin
$ gcc -o project1 project1.c

it compiles correctly, then I try what normally works on my normal UNIX
system
$ project1
and I get an error 
bash: project1:command not found.

Any help would be greatly appreciated, I appoligize for this greenhorn
question.

thanks
-- 
View this message in context: http://www.nabble.com/GCC-and-C-program-use-help-tf4742032.html#a13560435
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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/

- Raw text -


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