[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing GMP on cygwin

From: Kevin Ryde
Subject: Re: Installing GMP on cygwin
Date: Tue, 25 Jun 2002 09:48:01 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

"Edward Marti" <address@hidden> writes:
> /bin/sh ../libtool --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..    -g -O2 -fomit-fr
> ame-pointer -mcpu=pentiumpro -march=i486 -c -o isfuns.lo `test -f isfuns.cc
> || echo './'`isfuns.cc
> libtool: compile: unable to infer tagged configuration

Near the top of the generated libtool script there should be

        available_tags=" CXX"

And near the end just under "# ### BEGIN LIBTOOL TAG CONFIG: CXX"
there should be


Which is how it's supposed to know that "g++ ..." means C++.  You can
run that command with "sh -x" to see perhaps where it goes wrong,

        cd cxx
        /bin/sh -x ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-D__GMP_WITHIN_GMP -I.. -g -O2 -fomit-frame-pointer -mcpu=pentiumpro 
-march=i486 -c -o isfuns.lo `test -f isfuns.cc || echo './'`isfuns.cc

Actually you don't need the whole big set of options just to see what
libtool is doing, it should be enough to run something like

        /bin/sh -x ../libtool --mode=compile g++ -c -o isfuns.lo isfuns.cc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]