Re: [R] Compiling a FORTRAN program under Windows 7

2011-05-05 Thread Berend Hasselman
Mikael Anderson wrote: > > Hi, > > I am trying to compile a FORTRAN program to call from R under Windows 7 > but > I am having problem in the compiling step. To demonstrate this is the > program testit.f: > > -- > subroutine TESTIT(x,n,m) > di

Re: [R] Compiling a FORTRAN program under Windows 7

2011-05-05 Thread Clint Bowman
You are compiling a subroutine not a program and you compile line should read: gfortran testit.f -c testit.o You then reference that object code testit.o in your final loading stage after compiling other routiens and the main program. -- Clint BowmanINTERNET: cl...@