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 #44794 is a reply to message #44706] Wed, 13 July 2005 05:11 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Mark,
thanks for pointing out to me that the techtip is really for DLLs not DLMs
(but what is the difference of one letter between friends).

To Joey: I would not waste my precious research time to try to get cygwin to
compile your code. This is a painful lession I learned during my times as a
graduate student. Even though it is from M$, I had a lot of luck with Visual
Studio. Most code especially research code is generic enough not to rely OS
specific extensions, so that I never had to spend much time on conversions.

Cheers,
Haje



"Mark Hadfield" <m.hadfield@niwa.co.nz> wrote in message
news:db1esu$v4m$1@newsreader.mailgate.org...
> joey@swri.edu wrote:
>> 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".
>
> The techtip reported by Haje
>
> http://www.rsinc.com/services/techtip.asp?ttid=3798
>
> shows that it *is* possible to use Cygwin-compiled DLLs with IDL, via
> CALL_EXTERNAL. I don't see any mention of the -mno-cygwin switch in the
> techtip, so it looks like these are true Cygwin DLLs.
>
> Of course DLMs are another matter, but this techtip suggests that maybe
> you should persist.
>
> A note for those who are completely mystified by this thread:
>
> Cygwin (http://sources.redhat.com/cygwin/) is a Unix-emulation system for
> Windows. The Cygwin package includes a myriad of different tools, one of
> which is the GCC compiler system, includes the C compiler, gcc. Normally
> an executable produced by gcc will require the Cygwin DLL at run time. It
> is this DLL that provides the Unix API functions. It is also possible to
> use Cygwin's gcc to produce an executable that doesn't require the Cygwin
> DLL. The command-line switch to accomplish this is "-mno-cygwin".
>
> Mingw (http://mingw.sourceforge.net/index.shtml) is a port of the Gnu
> tools to Windows that doesn't rely on a separate run-time DLL. It does not
> emulate Unix, so porting Unix software to Mingw is harder than porting it
> to Cygwin. (The latter is often trivial.) An executable produced by
> Mingw's gcc will look very much like one produced by Cygwin's gcc
> with -mno-cygwin. In fact Cygwin bundles its own version of the Mingw
> headers and import libraries to achieve its "-mno-cygwin" functionality.
>
> --
> 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: Tue Dec 02 08:19:59 PST 2025

Total time taken to generate the page: 1.52115 seconds