Re: Compilator Fortran
- From: Herman D. Knoble <SkipKnobleLESS@xxxxxxxxxxxxxxx>
- Date: Thu, 02 Jun 2005 14:55:21 -0400
Ciobin: Sorry that I missed what you mean. Salford FTN95 does not have
a Visual Studio-like GUI. To facilitate compilation for the Windowed Debugger
(sdbg.exe), the easiest way I've found to effect a debug compile is to
make a short .BAT file invoking FTN95 with the debug options. E.g.,
@Echo off
REM This tells the compiled code to stop when an underflow occurs.
set salfenvar=trap_underflows
REM Invoke the compiler with debug options
FTN95 %1.F90 /LIST /NO_OFFSETS /DEBUG /CHECK /UNDEF /FULL_DEBUG
if errorlevel 1 GoTo Done
slink %1.obj
if errorlevel 1 GoTo Done
REM Set your own sourcepath for the debugger.
set sourcepath=c:\hdk\fortex\test
REM Invoke the debugger if compile and link went ok.
start wsdbg %1
:Done
set salfenvar=
set sourcepath=
This will compile, link, and invoke the windowed debugger. At that debugger
screen, you can either click "Run" to run to completion or to the first error;
or you can click "Step Into" to run a line at a time.
If you are compiling all or many f90 modules from a specific subdirectory, then
run the batch with argument with a wild card argument; e.g., *
would compile (and link) *.f90 .
Skip
On Thu, 02 Jun 2005 18:06:40 GMT, "Ciobin" <lingo74@xxxxxxxxxxxxxxxxxxxxxx> wrote:
-|
-|"Herman D. Knoble" <SkipKnobleLESS@xxxxxxxxxxxxxxx> ha scritto nel messaggio
-|news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo@xxxxxxxxxx
-|> For the Windows Platform at least:
-|> The Salford Windowed Debugger allows what you want - stepping one line
-|> at a time, or setting breakpoints, and at each break point (or stop line)
-|> one can display any variables, including matrices. Those variable values
-|> that are undefined are flagged as value "????????". This is a very
-|powerful
-|> debugging tool.
-|>
-|> Get the (free for non-commercial purposes) Personal edition of FTN95 at:
-|> http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.asp
-|> or at
-|> http://www.polyhedron.co.uk/salford/products/other/ftn95_personal.html
-|>
-|TNX !!!!
-|
-|Has it a GUI?
-|
.
- References:
- Compilator Fortran
- From: Ciobin
- Re: Compilator Fortran
- From: Herman D . Knoble
- Re: Compilator Fortran
- From: Ciobin
- Compilator Fortran
- Prev by Date: Re: Fortran book advertisement
- Next by Date: Re: Compilator Fortran
- Previous by thread: Re: Compilator Fortran
- Next by thread: Re: Compilator Fortran
- Index(es):
Relevant Pages
|