www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/27/08:12:16

Message-ID: <01BCFB3D.DEC8A700@skozlowski.zsi.waw.pl>
From: Stanislaw Kozlowski <skozlows AT piko DOT zsi DOT waw DOT pl>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Date: Thu, 27 Nov 1997 14:07:58 -0000
MIME-Version: 1.0

Dear Sir
	I have recently downloaded G77 Fortran package for MS DOS that is bundled
with  DJGPP Version 2.01.
	I wanted to call from FORTRAN a C run time library function but I could not
find a method for declaring a proper interface. I tried

      INTERFACE 
      integer*4 function time(lt)
      integer*4 lt
      end 
      end interface
      integer*4 i
      write(*,*) 'Fortran',i
      end

 to no avail. (compiler flags errors at interface statement). Can You indicate me proper source on Internet where I can find a manual or example how to do this ? 
                                                                           Thank You
                                                                    Stanislaw Kozlowski
                                                                 skozlows AT piko DOT zsi DOT waw DOT pl

- Raw text -


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