packages with FORTRAN code

Jim Lindsey jlindsey@alpha.luc.ac.be
Wed, 9 Jun 1999 15:18:47 +0200 (MET DST)


> Yes, sure.  You may simply want to include $(R_HOME)/etc/Makeconf which
> has the rule


The following, put in my Makefile, works without the include. (I had
the same without the final $(FLIBS) before.) Will this be OK on other
systems? (The mva and modreg libraries have both the include and the
following rule but without $(FLIBS)???)
  I'm afraid that I don't understand this at all. All of my libraries
have Fortran code. Why pick on growth? When I use $(FLIBS), it just
links f2c into my library whereas it is already linked into R. On my
son's computer with g77, FLIBS is defined, in etc/Makeconf, as a blank
so that nothing occurs for him. (My toms614.c function in my rmutil
library was obtained from f2c. It runs on my son's computer without
f2clib linked in, except for that part of the library built into R.)
  What is the point of all this?

Jim

> 
> $(SHLIB): $(OBJS)
>         $(SHLIBLD) $(SHLIBLDFLAGS) -o $@ $(OBJS) $(FLIBS)
> 
> so you only need to set SHLIB=growth and OBJS to the object files you
> have.
> 
> -k
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._