Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs Date: Wed, 3 Dec 2003 16:51:13 -0600 (CST) From: Brian Ford X-X-Sender: ford AT eos To: Cygwin List cc: "Kooser, Ara S" Subject: Re: EOF error In-Reply-To: <6.0.1.1.0.20031203171542.035047f0@127.0.0.1> Message-ID: References: <9A4B2157EFDBE546BECD68C62AC3B1C8140073E9 AT es05snlnt DOT sandia DOT gov> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20031203171542 DOT 035047f0 AT 127 DOT 0 DOT 0 DOT 1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 3 Dec 2003, Larry Hall wrote: > At 05:01 PM 12/3/2003, Kooser, Ara S you wrote: > >I am learning to program in fortran. I am using gcc to compile the > >following program: > > [snip] > > > >I compiled it with this command > > > >gcc -o projec -c projec.f > > > >The program compiles but will not run when I type > >./projec > > > > This isn't a Cygwin-specific problem and, as such, is really off-topic > for this list. However, the solution to your problem is to compile and > link your program. You created an object file only and named it 'projec', > which isn't going to run. Remove '-c' to get an executable. > Since this *is* Fortran, it probably wouldn't hurt to use g77 instead of gcc, too :). -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- 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/