This is the mail archive of the cygwin@sources.redhat.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: Does Cygwin's `-mno-cygwin' need Mingw?


--- Fergus Henderson <fjh@cs.mu.oz.au> wrote:
> Does the `-mno-cygwin' option to gcc work "out of the box" with Cygwin?
> 

As long as your code is ANSI compliant it will work.  The -mno-cygwin switch
uses the crtdll library.  It is not setup to use msvcrt.  It will be planned to
use the msvcrt library in the future.

> In other words, does the Cygwin distribution include Mingw? 
> Does it need to?
> 

The -mno-cygwin switch of the Cygwin product is not considered MinGW by the
MinGW development team.  MinGW has it's own set of GCC/binutils tools.  We are
currently in the process of preparing a more upto date package.

> If `-mno-cygwin' needs some other software (i.e. Mingw) installed in
> order for it to work properly, it might be a good idea to modify the
> code for `-mno-cygwin' so that it checks whether Mingw has been installed,
> and if not, reports a clear error message.
> 

There is no need for other software unless you desire it.

> (I spent a bit of time trawling the Cygwin and Mingw web sites
> in search of the answer to this fairly basic question, but
> I didn't spot it in the FAQs.)
> 

What are the questions to which you didn't find answers?  We (both Cygwin and
MinGW) do have a FAQ maintainer and we would appreciate you input to better the
FAQ document.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.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]