ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/27/12:22:24

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
Message-ID: <3CF25C96.1090604@netscape.net>
Date: Mon, 27 May 2002 12:19:34 -0400
From: Nicholas Wourms <nwourms AT netscape DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tvoverbe AT cistron DOT nl
CC: Ralf DOT Habacker AT freenet DOT de, cygwin-apps AT cygwin DOT com
Subject: Re: setup releases
References: <E17CMqB-000776-00 AT smtp1 DOT cistron DOT nl>

Don't forget to:
"ln -s /usr/include/g++-3 /usr/include/mingw/g++-3" (which is not needed 
in this case due to flags, but is useful for other -mnocygwin compiles).

Not to stir up controversy, but is there a reason why  the mingw 
libstdc++.a and the symbolic link aren't setup by the installer?

Cheers,
Nicholas

tvoverbe AT cistron DOT nl wrote:

>>>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