This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: etime
Could you provide some example source code illustrating your problem?
Here is a minimal example, working well with g77.
pc31 ~ $ cat sec.f
PROGRAM MAIN
REAL SECOND
REAL T1
REAL TARRAY( 2 )
REAL ETIME
EXTERNAL ETIME
T1 = ETIME( TARRAY )
SECOND = TARRAY( 1 )
END
pc31 ~ $ g77 sec.f
pc31 ~ $ /opt/gfortran/gfortran-20040922/bin/gfortran sec.f
/tmp/ccypfi8q.o(.text+0xd): In function `MAIN__':
: undefined reference to `etime_'
collect2: ld returned 1 exit status
--
Everyone who comes in here wants three things:
1. They want it quick.
2. They want it good.
3. They want it cheap.
I tell 'em to pick two and call me back.
-- sign on the back wall of a small printing company in Delaware