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 Reply-To: Cygwin List 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" , "'cygwin AT cygwin DOT com'" From: Larry Hall Subject: Re: EOF error In-Reply-To: <9A4B2157EFDBE546BECD68C62AC3B1C8140073E9@es05snlnt.sandia. gov> References: <9A4B2157EFDBE546BECD68C62AC3B1C8140073E9 AT es05snlnt DOT sandia DOT gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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/