delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/13/11:33:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000413163236.17182.qmail@web119.yahoomail.com>
Date: Thu, 13 Apr 2000 09:32:36 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Mingwin does not seem to know where its headers live.
To: Mo DeJong <mdejong AT cygnus DOT com>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Mo DeJong <mdejong AT cygnus DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019