Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Date: Fri, 26 Apr 2002 00:06:59 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Subject: Re: setup changes to build standalone Message-ID: <20020426040659.GC303@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23.1i On Fri, Apr 26, 2002 at 01:44:32PM +1000, Robert Collins wrote: >> 2) The above won't work in a cross build environment. You could say >> CC='i686-pc-cygwin-gcc -mno-cygwin'..., I guess. > >for cross compiles: >../setup/configure --host=i686-pc-mingw32 --build-i686-pc-linux >should do it (assuming a mingw32 cross compiler is present), or a >combination using the CC string you have above with the mingw host will >work too. Assuming you have a mingw cross compiler is what I was trying to avoid. For this purpose a 'gcc -mno-cygwin' compiler should work fine. I think the use of CC='i686-pc-cygwin-gcc -mno-cygwin' should work everywhere though. cgf