Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Fri, 16 Jun 2000 20:05:19 -0400
To: cygwin@sourceware.cygnus.com
Subject: Re: New GCC available for testing (TRY 4) -- fixes include path problem
Message-ID: <20000616200519.B12597@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: cygwin@sourceware.cygnus.com
References: <20000615014501.A14168@cygnus.com> <20000615235922.A22415@cygnus.com> <20000616131828.A17545@cygnus.com> <394A69F7.AD03B52A@carlthompson.net> <20000616151231.A8096@cygnus.com> <394A89A0.2564D870@carlthompson.net> <20000616172758.D10421@cygnus.com> <394AB08C.6F30E011@carlthompson.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <394AB08C.6F30E011@carlthompson.net>; from cet@carlthompson.net on Fri, Jun 16, 2000 at 03:56:12PM -0700

On Fri, Jun 16, 2000 at 03:56:12PM -0700, Carl Thompson wrote:
>Chris Faylor wrote:
>>>I just took another quick look at the way things are now and I noticed
>>>another problem.  Some Windows headers are only in the POSIX include
>>>directory (such as "windows.h"), but some are only in the MinGW
>>>directory (such as "direct.h").  That means, with your latest snapshot,
>>>Cygwin programs can't use "direct.h" if they need to!
>>
>>Did you look at the contents of direct.h?  It's mingw-specific.  POSIX
>>programs use dirent.h.
>
>Actually, it's not MinGW specific, it's Windows / DOS specific.  A
>"direct.h" header is also included with VC++ and Borland C++ so it is
>standard on the Windows platform.  It defines such functions as
>_getdrive().

Cygwin replaces many of the functions that are in msvcrt and crtdll.
You can't mix them with impunity.  You get conflicts.  The _getdrive()
function is part of crtdll and msvcrt.

Making these available would imply that people would have to link with
-lcrtdll which would lead to problems.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

