Skip to content
Prev 49050 / 63421 Next

Debug an R windows (Fortran) DLL within R with gdb?

Help,

My?Rgui.exe, main.f, main.o, and main.dll are all in the same directory.
When I try to set a breakpoint, I get this response

(gdb) b main.f:3 ? ? ? ? ? ? ??
No source file named main.f

I tried the -gdwarf-2 requirement in both the compiling and linking statements. ?This did not fix the problem.
The cygwin site recommended the -g option. ?I tried this. ?This did not fix the problem.
I did not use R CMD SHLIB ( I ran the statements manually ).

Andre Mikulec
Andre_Mikulec at Hotmail.com


----------------------------------------