comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Automatic Compiliation of IDL Programs, Was: Lost Functions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Automatic Compiliation of IDL Programs, Was: Lost Functions [message #10320 is a reply to message #10261] Thu, 06 November 1997 00:00 Go to previous messageGo to previous message
hegde is currently offline  hegde
Messages: 17
Registered: December 1995
Junior Member
David Fanning (davidf@dfanning.com) wrote:

> so I could make a save file. I decided to construct a
> "make" file.
> It looked something like this:
> PRO COYOTE_MAKE
> Resolve_Routine, 'coyote1'
> ...
> Resolve_All
> Save, /Routines, File='coyote.sav'
> END

I do use something similar:

1) makefile is similar to above example except that I use .Run file1 ..... filen
2) 'idlmake' script ( I use UNIX ):
#! /bin/csh
source $IDL_DIR/bin/idl_setup
$IDL_DIR/bin/idl $1

3) 'idlmake coyote.pro' at shell prompt compiles everything.

4) To run the software from shell prompt, I use the script 'run':
#! /bin/csh
source $IDL_DIR/bin/idl_setup
$IDL_DIR/bin/idl $1

5) Now I put the lines
;
Restore, 'coyote.sav'
Call the first routine ( in my case the main GUI ).
exit
;
in file 'coyote' and type 'run coyote' from command line. To a user it
appears as a executable or a software running at shell prompt rather than IDL
command prompt. By setting and retreiving environment variables one can put
.sav or .pro files anywhere. Unless I am experimenting with a new command, I
don't even go to IDL prompt.

But the biggest headache I face is, my software is about 200+ ( ~ 15000 lines ) IDL routines and 60+ C routines. Each time I add a new module, by the time
I compile in the above mentioned way, read the test data and run the new module
it will be 5-10 minutes. If it comes across a misspelled keyword,
I have to start all over again and I have seen this happen too many times.

What I would like to have atleast is a pre-processor/parser if not a *compiler*
( I guess RSI wants to make money selling Runtime IDL ).

-M. Hegde
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL mode for emacs
Next Topic: Re: CORBA IDL with funtional paradigm

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Apr 26 18:30:10 PDT 2026

Total time taken to generate the page: 1.20181 seconds