This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pbm with ar.h when compiling make-3.80 for mingw


--- Xavier Marichal <xavier.marichal@alterface.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]