Re: [Rd] R DDD fortran

2011-07-29 Thread Duncan Murdoch
On 29/07/2011 11:41 AM, Paul Gilbert wrote: Is there an easy way to compile a packages's fortran so that it has the information for ddd or gdb to follow the lines of the code? I seem to remember seeing something about this, but I cannot find it in Writing R Extensions. (I see about Valgrind, d

Re: [Rd] R DDD fortran

2011-07-29 Thread Daniel Cegiełka
$ grep FFLAGS /usr/lib/R/etc/Makefile add FFLAGS for gdb in this Makefile and reinstall your code. regards, daniel 2011/7/29 Paul Gilbert > Is there an easy way to compile a packages's fortran so that it has the > information for ddd or gdb to follow the lines of the code? I seem to > remem

[Rd] R DDD fortran

2011-07-29 Thread Paul Gilbert
Is there an easy way to compile a packages's fortran so that it has the information for ddd or gdb to follow the lines of the code? I seem to remember seeing something about this, but I cannot find it in Writing R Extensions. (I see about Valgrind, debugging a segfault, and some other tricks, bu