X-Spam-Check-By: sourceware.org Message-ID: <20060215194240.53010.qmail@web30613.mail.mud.yahoo.com> Date: Wed, 15 Feb 2006 14:42:40 -0500 (EST) From: Martin Subject: Re: Pbm with ar.h when compiling make-3.80 for mingw To: cygwin AT cygwin DOT com In-Reply-To: <43F375FF.9080709@alterface.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 --- Xavier Marichal wrote: > Hi! > > To make a long story short, I want to re-build make-3.80 for > mingw/msys > usage because I encounter some problems with the mingw > distribution... > > After downloading the sources fro gnu, I launched ./configure. > Then, in-line with the recommendations of > http://www.delorie.com/howto/cygwin/mno-cygwin-howto.html, I did > modify > the resulting Makefile in the following way: > CFLAGS = -g -O2 -mno-cygwin > DEFAULT_INCLUDES = -I/cygdrive/c/mingw/local/include/ -I. > -I$(srcdir) -I. > LDFLAGS = -L/cygdrive/c/mingw/local/lib/ > > Yet, when lauching make, I receive the error displayed in the attach > error.txt. > > The fact is that there is indeed an ar.h in Cygwin, which has > probably > be detected during the configure operation. Yet, if mingw does > contain > ar.exe, it does not include any source related to ar... > > What shall I do then? Is there an otption to configure to tell it > that > the intention is to "export" towards mingw (a configure equivalent to > > -mno-cygwin)? > Otherwise, ar.h is present in Cygwin: /usr/include, but I suppose > that > if I add this directory as a -I, I will loos my indendence from > Cygwin... > > Attached is the requiested cygcheck.out. > > Thanks in advance for any help, > Xavier -- snip -- Am I missing something? Wouldn't the configure command be: CC="gcc -mno-cygwin" ./configure The configure script should handle the rest. Martin __________________________________________________________ Find your next car at http://autos.yahoo.ca -- 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/