New GCC available for testing (TRY 4) -- fixes include path problem

Chris Faylor cgf@cygnus.com
Fri Jun 16 17:05:00 GMT 2000


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



More information about the Cygwin mailing list