Re: [Rd] forcing the use of the c++ linker with c++ and fortran sources

2009-01-09 Thread Steve Guerrero
en makeargs="${makeargs} SHLIB_LIBADD='\$(OBJC_LIBS)'" fi fi fi This logic seems to suggest that if there are fortran95 sources, the LD command will be SHLIB_FCLD...with no apparent way to override it. Am I mistaken? Thanks, -sg Duncan Murdoch wrote: On 0

[Rd] forcing the use of the c++ linker with c++ and fortran sources

2009-01-09 Thread Steve Guerrero
I'm trying to build a package which has both gfortran and c++ code. In my installation of R, the R CMD INSTALL process compiles each c++ and gfortran code with the correct compiler, but performs the link step with "gfortran" and this creates undefined symbols at load time. How does one overr