X-Spam-Check-By: sourceware.org Message-ID: <44A384A9.8CE43608@dessent.net> Date: Thu, 29 Jun 2006 00:43:37 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gmp and libiconv as mingw variant libraries under cygwin? References: <5460e3330606282304y1875d36avdd987073926090f7 AT mail DOT gmail DOT com> <5460e3330606290027x1e972086vcc251b313d2b13f4 AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Christian Joensson wrote: > > Thanks so far. > > Right now, I do this: > > $ CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' > ../binutils-060628/configure --build=i686-pc-cygwin > --host=i686-pc-mingw32 --prefix=/opt/mingw > > But I get stuck like this: In the case of toolchains (i.e. packages that create code, gcc/binutils) you need to use --target, but for normal libraries you use --host. Brian -- 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/