www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/30/16:02:07

From: kretlow AT hrz DOT uni-siegen DOT d400 DOT de (Mike Kretlow)
Newsgroups: comp.os.msdos.djgpp
Subject: Calling fortran subrotuines from C
Date: Tue, 30 Sep 1997 19:04:20 GMT
Message-ID: <343147a1.399544@news.uni-siegen.de>
NNTP-Posting-Host: isdna38.hrz.uni-siegen.de
Lines: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

possibly my question is a faq, but I didn't found any hint in my docs
and it is urgent.

I have some f77 subroutines, which I like to call from my c program.
I compiled the file sub.f with g77 under dos and the main c-program
with djgpp 2, but the linker couldn't find the subroutines (I declared
them of course as extern).

Could someone help me?

Thanx in advance, Mike!
Mike Kretlow, Univ. Siegen, FB Physik
Email: kretlow AT hrz DOT uni-siegen DOT d400 DOT de

- Raw text -


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