delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/27/19:05:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050327185000.02b79a20@pop.prospeed.net>
Date: Sun, 27 Mar 2005 18:56:48 -0500
To: Jani Tiainen <redetin AT luukku DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: Compiling purely native (mingw) win32 apps under cygwin...
In-Reply-To: <d262ld$d8r$1@sea.gmane.org>
References: <d262ld$d8r$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0

At 05:42 AM 3/27/2005, you wrote:
>Hi all!
>
>I was wondering what I have to do to get purely native win32 app to build under cygwin. I know that -mnocygwin directive drops out dependency to cygwin1.dll, but how about other libraries?
>
>How I can make a separate sandbox for my purposes that in any case even two versions of libs exists cygwin uses only my own libs..?


If you don't want or need the Cygwin layer, you can always just download,
install, and use the MinGW version of gcc/g++ (see www.mingw.org).  The
'-mno-cygwin' flag to the Cygwin version of gcc/g++ is meant to be a 
convenient option to get the same results as the MinGW version without
installing a copy.  Still, if MinGW is what you want and all you ever want,
you're better off using it that the Cygwin switch.

If you're ever unsure about which DLLs got linked into your executable/DLL,
simply run 'cygcheck <foo>', where <foo> is the executable/DLL in question.
It will list all the implicitly loaded DLL dependencies.  If there are any
Cygwin dependencies, you'll see them.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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