Hi Charlie,
Did you try the usual suspects, "-g -O0"?
gfortran is only a frontend to the gcc, and I suppose the above (gcc-)options do
what you are looking for.
Tim
On Sat, Apr 03, 2010 at 08:19:51AM -0400, Charles W. Carter, Jr wrote:
> I'm trying to compile a fortran program (infac.f) to run under MacOSX.
> It compiles and runs normally for some, but not all input
> specifications. Often, instead of proceeding, it hangs.
>
> I can find no evidence in either the gfortran or gdb manuals on how to
> compile the source code so as to include symbol table information
> necessary to use a debugger. The gfortran manual mentions gdb once,
> saying that it is capable of generating such information, but then has
> no further mention of gdb.
>
> Any advice would be much appreciated!
>
> Thanks,
>
> Charlie
--
--
Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen
GPG Key ID = A46BEE1A
|