This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mingwin does not seem to know where its headers live.

--- Mo DeJong <> wrote:
> When I build with mingwin, it bails out
> saying it can not find direct.h.
> BASH.EXE-2.03$ gcc -mno-cygwin -c WIN32.C
> WIN32.C:2: direct.h: No such file or directory

I'm going to get picky here.  Using Cygwin gcc with the -mno-cygwin switch is
not MinGW.  There is a different gcc which Mumit distributes that is native to
Win32 and thus is the MinGW GCC toolset.  You can get this from the pointers at

Using the -mno-cygwin switch is sort of a cross compile.  You have a separate
set of headers, a separate set of libraries and a special switch which is
controlled via the specs file.

Mumit has on his site a "howto" for using the -mno-cygwin switch successfully. 
This information is in the volumes of archives.


   Earnie Boyd: <>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <>
           __Minimalist GNU for Windows__
  Mingw32 List: <>
    Mingw Home: <>

Do You Yahoo!?
Send online invitations with Yahoo! Invites.

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]