delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/17/00:26:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 17 Jul 2001 00:17:38 -0400
From: Christopher Faylor <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: fish AT infidels DOT org
Subject: Re: new to-do item
Message-ID: <20010717001738.A6885@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, fish AT infidels DOT org
References: <20010716232435 DOT A6474 AT redhat DOT com> <000501c10e75$6a5b10c0$0200a8c0 AT proteva>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <000501c10e75$6a5b10c0$0200a8c0@proteva>; from fish@infidels.org on Mon, Jul 16, 2001 at 09:03:20PM -0700

On Mon, Jul 16, 2001 at 09:03:20PM -0700, Fish wrote:
>>>Is this not a cygwin dll issue?
>>
>>No.  The Cygwin DLL emulates *UNIX*, not Windows.
>
>Hmmm...  Yes, I suppose you're right in that regard.
>
>>We don't add Windows system calls to the Cygwin DLL.
>
>So what you're basically saying then is one can *only* use Cygwin to
>develop UNIX programs that should also be able to run on Windows
>platforms as well, BUT, even though these programs just so happen to be
>able to be run under Windows, they are not allowed to make use of *any*
>Windows API calls whatsoever anywhere in their code??  Is that correct?

What I am saying is that if you add a to-do list entry which has
nothing to do with the Cygwin DLL, it will be rejected.

>>>If it's not, then *WHO'S* issue is it??
>>
>>It's either a header file or import library issue.
>>
>>I've cc'ed this email to the cygwin mailing list.  Perhaps someone will
>>be willing to research what needs to be done to add this missing
>>function or macro.
>
>Thanks.  The development team of which I'm a part of (as is Greg Smith
>too) has been for the most part successful so far in developing a
>product that, with cygwin's help, runs as easily on Windows as it does
>on Linux/Unix (*ix) platforms.  Unfortunately, however, it doesn't
>perform as well under Windows as it does under *ix.  We attribute this
>poor performance for the most part to the cygwin code.

I'm wondering how you are going to release this product given cygwin's
requirement that you must open source your product when it is released.
Are you going to be producing an open source product?  If so, I applaud
your efforts.  If not, hmm... you've got problems, I think.

>We fully understand, of course, that emulating an *ix environment on
>Windows is no easy task, and applaud the cygwin people for doing as
>good a job as they have in accomplishing that end.
>
>But in order to reach the desired performance level under Windows
>(*without* having to rewrite it completely in native Win32 form), we
>would like to introduce on an as-needed basis certain Win32-specific
>logic in a few places.  From what you're telling me, cygwin doesn't
>allow (support) that.

I'm saying no such thing.  I am only correcting your erroneous use of
the Cygwin to-do list.  Why do you think I redirected your email to the
cygwin mailing list if it wasn't possible to do what you wanted?  It
would be off-topic here if that was the case.

As I said, this is a missing header file or import library issue.  The
header files and libraries come with the cygwin distribution but they
are not related to the Cygwin DLL.

>If we are unable to do that (i.e.  make native Win32 API calls wherever
>we feel it's necessary) using the cygwin development environment, then
>forgive me but I'm at a total loss as to how to accomplish our desired
>goal (short of rewriting it completely in native Win32 using
>Microsnot's own tools; i.e.  developing a custom "Win32-ONLY" version).
>
>Is there *any* way, using cygwin, to make calls to Win32 APIs?

Of course.  You demonstrated the possibility in your test case.

>(If there's a more appropriate email list or news group for such
>questions, please let me know.  I know you're a busy man and I don't
>wish to take up your time if you're not the right person to be talking
>to regarding this issue.)

I redirected your request to the cygwin mailing list.  Why would I
redirect it to a less-than-appropriate forum?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019