www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/27/11:55:35

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Mime-Version: 1.0
From: <tvoverbe AT cistron DOT nl>
Date: Mon, 27 May 2002 17:55:23
To: Ralf DOT Habacker AT freenet DOT de
Subject: RE: setup releases
Cc: cygwin-apps AT cygwin DOT com
Message-Id: <E17CMqB-000776-00@smtp1.cistron.nl>

> > 
> > It doesn't. It can optionally, and with a bit of tweaking, be built
> > against cygwin1.dll. In the future this willg et easier. The
> > downloadable setup.exe will always be a mingw application.
> > 
> ... but by default it seems to link to the cygwin dll, how do I avoid this ? 
> 

Use Rob's configure options documented on:
http://sources.redhat.com/cygwin-apps/setup.html.
That will produce a mingw executable.
Quoting from that page:
-----------------------------------------------------------
To build setup in the same way that the net distribution's
binaries are built, configure setup on a cygwin machine with
the following command: ".../setup/configure -C
--enable-dependencies --disable-shared
--host=i686-pc-mingw32 --build=i686-pc-cygwin
'CC=gcc -mno-cygwin' 'CXX=g++ -mno-cygwin'
CPPFLAGS=-I/usr/include/g++-3 --enable-maintainer-mode".
To successfully build such a setup you will need a mingw
libstdc++.a file for the cross-compiler to link against
One can be found in the mingw gcc binary, simply place
the library in /usr/lib/mingw/.
-----------------------------------------------------------

Ton van Overbeek

- Raw text -


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