This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Mingwin does not seem to know where its headers live.
- To: earnie_boyd at yahoo dot com
- Subject: Re: Mingwin does not seem to know where its headers live.
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Thu, 13 Apr 2000 13:35:04 -0400
- CC: cygwin at sourceware dot cygnus dot com
- References: <20000413163236.17182.qmail@web119.yahoomail.com>
Earnie -
Thank you for this explanation. I've been on this list for ages, but
never quite understood the diffference between MinGW and -mno-cygwin.
This should be a *cygwin* FAQ.
--Chuck
Earnie Boyd wrote:
>
> --- 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
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com