delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/15/14:42:49

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 <linkscrazy AT yahoo DOT com>
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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <xavier DOT marichal AT alterface DOT com> 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/

- Raw text -


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