delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/17:22:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20031203171542.035047f0@127.0.0.1>
X-Sender:
Date: Wed, 03 Dec 2003 17:19:43 -0500
To: "Kooser, Ara S" <askoose AT sandia DOT gov>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: EOF error
In-Reply-To: <9A4B2157EFDBE546BECD68C62AC3B1C8140073E9@es05snlnt.sandia.
gov>
References: <9A4B2157EFDBE546BECD68C62AC3B1C8140073E9 AT es05snlnt DOT sandia DOT gov>
Mime-Version: 1.0

At 05:01 PM 12/3/2003, Kooser, Ara S you wrote:
>Hello,
>
>  I am new to the list and using cygwin. I read through the other posts
>about EOF errors and I tried those solutions. But I am still having a
>problem. I am learning to program in fortran. I am using gcc to compile the
>following program:
>
>    PROGRAM TEMP
>*********************************************************
>*This program converts Celsius to Farenheit     *
>*                           *
>*The variable used is:                  *
>*   DEGC    : degress celsius           *
>*********************************************************
>
>    REAL DEGC, DEGF
>    PRINT * , 'ENTER THE TEMPERATURE IN DEGRESS C:'
>        READ * , DEGC
>    DEGF = 9 / 5 * DEGC + 32
>    PRINT * , 'DEGRESS FARENHEIT:' , DEGF
>        END
>
>I compiled it with this command
>
>gcc -o projec -c projec.f
>
>The program compiles but will not run when I type
>./projec
>
>It receive the following error:
>
>./projec: 124: Syntax error: EOF in backquote substitution
>
>If anyone can help that would be great.


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.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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