Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Fortran Works? To: cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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