This is the mail archive of the cygwin@sourceware.cygnus.com 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 <mdejong@cygnus.com> wrote:
-8<-
> 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
> 
-8<-

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
http://www.mingw.org.

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.

Regards,

=====
---
   Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

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


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