delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/16/03:04:40

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: impure ptr
16 Jan 1999 03:04:40 -0800 :
Message-ID: <19990115201443.02086.cygnus.gnu-win32@cygnus.com>
References: <8135911A809AD211AF6300A02480D1750348B8 AT IIS000 DOT microdata DOT fr>
Mime-Version: 1.0
To: Bernard Dautrevaux <DAUTREVAUX AT microprocess DOT com>
Cc: "'John Mamer'" <jmamer AT anderson DOT ucla DOT edu>, gnu-win32 AT cygnus DOT com

> A lot of people also think that -mno-cygwin will select the right
> libraries, but they are all wrong :-<. -mno-cygwin only change
> predefined macros passed to your program and select the right header
> files, but you have to retrieve the mingw32 libraries from Mumit's site
> and select them manually

Really?  I thought my change to the specs file that was in the full
20.1 distribution fixed this problem.  It should pick the right
headers and Mingw stub libraries as long as you're doing C programming
with some combination of stdc and Win32 API calls.

That said, for C++ programming, you still need the mingw configuration
since the libstdc++ and libiberty libraries are still Cygwin-linked;
this is a hard problem to solve but needs to be at some point.

If this is not correct, please let me know so I can readjust my brain
accordingly.

-- 
Geoffrey Noer
noer AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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