delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/11/20:25:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001112012435.12213.qmail@web1903.mail.yahoo.com>
Date: Sat, 11 Nov 2000 17:24:35 -0800 (PST)
From: Dan Ganser <danganser AT yahoo DOT com>
Subject: Fortran Works?
To: cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

I just installed cygwin's gcc on my Windows NT and 98
machines. My source compiles, but will not link. I
tested some C code and it is fine.

Shouldn't Fortran work? Am I missing something?

I tried compiling from within the Cygwin BASH shell
where all my paths appeared good.

command line: gcc junk1.f

Source:
      PROGRAM MAIN

      WRITE(6,*) 'Hello World'

      RETURN
      END

Output:

/cygdrive/c/WINDOWS/TEMP/ccgmxlDw.o(.text+0x23):junk1.f:
undefined reference to `s_wsle'
/cygdrive/c/WINDOWS/TEMP/ccgmxlDw.o(.text+0x3c):junk1.f:
undefined reference to `do_lio'
/cygdrive/c/WINDOWS/TEMP/ccgmxlDw.o(.text+0x44):junk1.f:
undefined reference to `e_wsle'
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c:
undefined reference to `WinMain AT 16'
collect2: ld returned 1 exit status

Any help would be appreciated.

Thanks,
Dan

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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