www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/09/18:11:22

From: turnblom AT nature DOT Berkeley DOT EDU
Date: Thu, 9 Dec 93 14:14:05 PST
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: djgpp and f2c

Greetings!

I have just been tinkering with release 1.10 and the f2c compiler
which comes in tpf2c100.zip located with other djgpp archives.  To
test things out I have a simple 3 subroutine FORTRAN program that
works fine compiled with MS-FORTRAN v5.1.  When I `f2c' it, then `gcc'
it I get a bunch of "undefined references" for the following:

   ... undefined reference to `s_copy'
                              `s_wfse'
										`e_wfse'
										`s_rsfe'
										`do_fio'
										`e_rsfe'
										`s_cmp'
										`s_cat'
										`s_stop'

Can someone please clue me in to whether this is an f2c anomaly, or
have I forgotten to include a particular library (`-l' option)?

Any help appreciated.
----------------------------------------------------------------------
Eric C. Turnblom                Department of Environmental Sciences,
turnblom AT smokey DOT berkeley DOT edu       Policy and Management - Forestry  
TEL:(510) 642-7164              145 Mulford Hall - Univ. of Calif.   
FAX:(510) 643-5438              Berkeley, CA  94720                  
               "Mecca lecca hi, mecca hidey ho."  -Jambi
----------------------------------------------------------------------

- Raw text -


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