From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24528 invoked from network); 8 Apr 1998 19:38:06 -0000 Received: from unknown (HELO rw.usuf2.usuhs.mil) (131.158.3.44) by mail2.redhat.com with SMTP; 8 Apr 1998 19:38:06 -0000 Received: from bob.usuf2.usuhs.mil (localhost [127.0.0.1]) by rw.usuf2.usuhs.mil (8.8.7/8.8.7) with ESMTP id PAA31055; Wed, 8 Apr 1998 15:36:59 -0400 Sender: bob@rw.usuf2.usuhs.mil Message-ID: <352BD1DB.BD887230@bob.usuf2.usuhs.mil> Date: Wed, 08 Apr 1998 14:36:59 -0500 From: Robert Williams Organization: USUHS X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.1.82 alpha) MIME-Version: 1.0 To: egcs-bugs@cygnus.com, axp-list@redhat.com Subject: Re: egcs-980406 g77 bug Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm looking for the reason why I can't get my little fortran program to compile and run under axp/Linux with egcs-980406 when two others apparently can: program bomb character*15 Message Message = 'Hello world!' Write(6,1000) Message(1:12) 1000 Format(A) stop end I suspect I'm linking to the wrong library somewhere. It's clear that I'm linking to glibc-devel files (crt1.o) and to glibc.so, both not part of egcs. This is necessary, no? The libf2c.a is definitely from egcs-980406. Does anyone have any suggestions? Here is my compile/link output: bob@bob[5] f77 -t -g junk.f -o junk /usr/bin/ld: mode elf64alpha /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o /var/tmp/cca309511.o (/usr/local/lib/libf2c.a)main.o (/usr/local/lib/libf2c.a)s_stop.o (/usr/local/lib/libf2c.a)sig_die.o (/usr/local/lib/libf2c.a)s_copy.o (/usr/local/lib/libf2c.a)close.o (/usr/local/lib/libf2c.a)endfile.o (/usr/local/lib/libf2c.a)err.o (/usr/local/lib/libf2c.a)fmt.o (/usr/local/lib/libf2c.a)open.o (/usr/local/lib/libf2c.a)sfe.o (/usr/local/lib/libf2c.a)util.o (/usr/local/lib/libf2c.a)wsfe.o (/usr/local/lib/libf2c.a)wrtfmt.o (/usr/local/lib/libf2c.a)fmtlib.o (/usr/local/lib/libf2c.a)wref.o -lm (/usr/lib/libm.so) /lib/libc.so.6.1 (/usr/lib/libc_nonshared.a)stat.So (/usr/lib/libc_nonshared.a)fstat.So /usr/lib/crtend.o /usr/lib/crtn.o Also: bob@bob[40] rpm -qa | grep glibc rpm-devel-2.4.12-1glibc rpm-2.4.12-1glibc glibc-static-0.961212-5 glibc-devel-2.0.7-6 glibc-2.0.7-6 bob@bob[41] rpm -q gcc gcc-2.7.2.3-8 -- Bob Williams, http://bob.usuf2.usuhs.mil/