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

Home » Public Forums » archive » Re: About call_external, AUTO_GLUE and gcc
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: About call_external, AUTO_GLUE and gcc [message #39563] Sat, 29 May 2004 03:29 Go to next message
mw vogel is currently offline  mw vogel
Messages: 3
Registered: February 2003
Junior Member
Thomas Brueckner wrote:

>
> It all works sweet. Great.
>
> However, if I go back and add some new computation to my function
> 'try' in the source file 'try_glue4.c' and then save and recompile and
> relink to 'try_glue4.so', then the next time I call_external to
> 'try_glue4.so' there is a repeat of the initial function computation.
> It does not use the new function computation.
>
> OK, I can save the changed source file to 'try_glue5.c' and go through
> the process with that new file. It seems like you should be able to
> flip one of the option switches on gcc or ld so that you can work on
> one source file. Or is it some feature of AUTO_GLUE that produces
> this trouble.
>

Sounds to me like you want to unload your old DLM from memory, and then
reload the newly linked DLM.
My favourite way of doing this is by the .f -way :-)
The HELP, /DLM will show you what is loaded.
Re: About call_external, AUTO_GLUE and gcc [message #39655 is a reply to message #39563] Mon, 31 May 2004 06:46 Go to previous message
profxtjb is currently offline  profxtjb
Messages: 22
Registered: October 2003
Junior Member
mw vogel <m.vogel@erasmusmc.nl> wrote in message news:<40B86601.E14DE0DD@erasmusmc.nl>...

> Sounds to me like you want to unload your old DLM from memory, and then
> reload the newly linked DLM.
> My favourite way of doing this is by the .f -way :-)
> The HELP, /DLM will show you what is loaded.

I thought that making a call_external was different from making a DLM.
In any case, HELP,/DLM gets me a lot of descriptions like

** CDF - IDL CDF support (not loaded)
Version: 2.6r7, Build Date: JUN 27 2003, Source: Research Systems,
Inc.
Path: /Applications/idl_6.0/bin/bin.darwin.ppc/idl_cdf.so

but no mention of my little homemade .so file.

I have learned that .full_reset_session clears the old .so file, but I
wonder if there is a sneaky software switch I can flip, short of
nuking everything with .full_reset_session.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Announcing GDL 0.8.2, now also for Mac OS X
Next Topic: Keywords in DLM

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

Current Time: Wed Oct 08 19:47:03 PDT 2025

Total time taken to generate the page: 0.00678 seconds