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

Home » Public Forums » archive » Re: Windows IDL DLM with Cygwin
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: Windows IDL DLM with Cygwin [message #44719 is a reply to message #44714] Mon, 11 July 2005 20:55 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
joeymu@gmail.com wrote:
> Has anyone sucessfully used a DLM created with the Cygwin family of
> compilers? I have sucessfully compiled a DLM and it looks like it
> should work, but when it gets to the point of actually using the DLM,
> IDL will crash!

That's what I would expect. There are problems in using the Cygwin DLL,
or DLLs that link to it, with non-Cygwin applications because of
problems with run-time library initialization. I've done a little
Googling to find a reference for this fact (and I use the term loosely)
but all I've managed to do is confuse myself.

> I've been trying to compile my code with a
> -mno-cygwin, but that is going to be a lot of work! I'm hoping there
> is an easier way. Anyway, I'd love to hear even if this is possible
> (i.e. someone has actually done it) so I don't just spin my wheels.

Hmm. I don't know what is the line of least resistance here. It depends,
partly, of how much work it would be to wean your code off the Cygwin
DLL. Assuming (as you say) that this is going to be a *lot* of work then
perhaps you should try to get the Cygwin run-time initialisation issues
sorted out. You should read this:

http://cygwin.com/faq/faq_3.html#SEC102

Perhaps you should ask about this on the Cygwin mailing list, but read
the relevant sections in the IDL External Development Guide first. (And
be ready for some brusque replies.)

And when you've sorted it all out, perhaps you could report back to the
list?


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: BAR_PLOT restricted to 60 element ARRAY??
Next Topic: collecting data files

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

Current Time: Mon Oct 13 02:13:42 PDT 2025

Total time taken to generate the page: 1.57663 seconds