home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / fortran / 4943 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.0 KB  |  36 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!newsflash.concordia.ca!mizar.cc.umanitoba.ca!ee.umanitoba.ca!jayas
  3. From: jayas@ee.umanitoba.ca (Rohitha P. Jayasinghe)
  4. Subject: Re: HELP: calling c from fortran 77
  5. Message-ID: <C0JroK.Kpx@ccu.umanitoba.ca>
  6. Sender: news@ccu.umanitoba.ca
  7. Nntp-Posting-Host: pow2.ee.umanitoba.ca
  8. Organization: Dept. of Elect. & Comp. Eng., U of Manitoba
  9. References:  <C0IBxD.JL3@ccu.umanitoba.ca>
  10. Date: Fri, 8 Jan 1993 18:07:31 GMT
  11. Lines: 23
  12.  
  13. In article <C0IBxD.JL3@ccu.umanitoba.ca>, jayas@ee.umanitoba.ca (Rohitha P. Jayasinghe) writes:
  14. > Is it possible to call a C subroutine from fortran 77?
  15. > If so, how can that be done?
  16. > thanks.
  17. > Rohitha.
  18.  
  19. Many thanks to those who replied.
  20. I should have included more information in my original posting.
  21.  
  22.  - I am working on a Sun workstaion.
  23.  - operating system Unix / Sun 4.1.2 
  24.  - Fortran compiler Sun FORTRAN 1.4
  25.  - C compiler Sun C 1.1
  26.  
  27. I have to call several C subroutines.
  28. Argument types vary from integer/real
  29.  to arrays/single variables.
  30.  
  31. Thanks again.
  32.  
  33. Rohitha.
  34.