g77

lartey lartey@hepr0.physics.tamu.edu
Wed May 1 08:45:00 GMT 2002


I have installed egcs1.1.2 on my redhat 7.2 linux machine but it appears 
g77 failed to install correctly. I configured with
> ./configure --prefix=/usr --host=i686-pc-linux-gnu

This is what I get when I do the ff

[root@hepr0 usr]# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

[root@hepr0 usr]# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

[root@hepr0 usr]# g77 -v
g77 version egcs-2.91.66 19990314 (egcs-1.1.2 release) (from FSF-g77 
version 0.5.24-19981002)
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/cpp -lang-c -v -undef 
-D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -D__unix__ -D__i386__ 
-D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) 
-D_LANGUAGE_FORTRAN -traditional -Asystem(unix) -Acpu(i386) 
-Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 
-D__i686__ -D__pentiumpro -D__pentiumpro__ /dev/null /dev/null
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386 
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/i686-pc-linux-gnu/include
 /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/f771 -fnull-version 
-quiet -dum
pbase g77-version.f -version -fversion -o /tmp/ccio2k2g.s /dev/null
GNU F77 version egcs-2.91.66 19990314 (egcs-1.1.2 release) 
(i686-pc-linux-gnu) c
ompiby GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).
GNU Fortran Front End version 0.5.24-19981002
 as -V -Qy -o /tmp/cc2XTm4o.o /tmp/ccio2k2g.s
GNU assembler version 2.9.5 (i386-redhat-linux) using BFD version 
2.9.5.0.22
 ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/ccc7o9sy 
/tmp/cc2XTm4
o.o /usr/lib/crt1.o /usr/lib/crti.o 
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91
.66/crtbegin.o -L/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66 
-L/usr/i686-pc-
linux-gnu/lib -lg2c -lm -lgcc -lc -lgcc 
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-
2.91.66/crtend.o /usr/lib/crtn.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/libg2c.a(open.o): In 
function `f
_open':
/egcs/egcs-1.1.2/i686-pc-linux-gnu/libf2c/libI77/open.c:212: the use of 
`tempnam
' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/libg2c.a(main.o): In 
function `m
ain':
/egcs/egcs-1.1.2/i686-pc-linux-gnu/libf2c/libF77/main.c:59: undefined 
reference 
to `atexit'


I get the same problem with gcc-2.95.2

Any ideas?

Thanks
ED



More information about the Gcc-help mailing list