This is the mail archive of the
mailing list for the Cygwin project.
Re: EOF error
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:
> >I compiled it with this command
> >gcc -o projec -c projec.f
> >The program compiles but will not run when I type
> 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 :).
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html