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 #44707 is a reply to message #44706] Tue, 12 July 2005 14:26 Go to previous messageGo to previous message
joey is currently offline  joey
Messages: 5
Registered: March 2005
Junior Member
Mark Hadfield <m.hadfield@niwa.co.nz> wrote:
> 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.

What I find odd is that IDL just crashes rather than give me a message
saying something about a missing symbol or the like. That's really
what I was expecting.

>> 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
>
> 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.

Compiling with MinGW or Visual Studio will be (I believe) a lot more work
since I have to remove the unixisms from my code which is not insignificant;
however, most of this has to do with signals, forks, and spawning. Cygwin
seems to have solved most of these porting issues which is why it would
be nice if that part worked.

> http://cygwin.com/faq/faq_3.html#SEC102
>
> And when you've sorted it all out, perhaps you could report back to the
> list?

I may try the above faq method; however, I have to do it for all my DLLs
and there are seven I use before I get to my DLM. That might also be a
lot of work.

Ok, thanks to all who have replied. I believe I got the answer I needed in
that "using a Cygwin compiled DLL is impossible with IDL". If I make some
progress on this in the form of a generic way to solve this problem, I'll
post back. If I just try ifdef'ing out my unix'y code, that might be
easier...

Thanks again!

Joey
[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: Sat Oct 18 06:27:55 PDT 2025

Total time taken to generate the page: 1.19977 seconds