www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/23/04:27:18

Date: Wed, 23 Aug 1995 10:08:45 +0200 (MET DST)
From: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
Subject: Re: Special libraries to search for f2c?
To: egley AT albany DOT net (Skip Egley)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>

> 
>         
> I'm trying to compile fortran code converted to C via f2c.
> I'm getting many undefined references, most (if not all) of which are
> generated by f2c.  I'm including all the libraries (i.e. -lgpp -lgpl -lm
> -lpc) that are mentioned in the FAQ.  I also used nm to search for these in
> all the libraries.
> 
> I'm hoping that someone recognizes these and tells me that I should be doing
> such and such.  Some of the undefined references are:
> 
> do_fio
> e_wsfe
> s_wsfe
> i_len
> s_copy
> 
> and many more.
You gotta link with the f2c libs 

gcc .... -lF77 -lI77 -lm -lc
(or gcc ... -lf2c -lm -lc)

depending on what libs there are - escaped me for the moment.


> 
> One other thing.  Does djgpp support double complex variables.  I'm also
> getting an undefined reference to zsqrt and nm doesn't report it being in libm.a
> Do I have to write one myself?
> 
> Thanks,
> Skip Egley
> 
> 

--Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -


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