This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: compile failure with current CVS: can only configure for one host and one target at a time
- From: Daniel Jacobowitz <drow at false dot org>
- To: Duncan Sands <duncan dot sands at math dot u-psud dot fr>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 26 Jan 2005 10:22:40 -0500
- Subject: Re: compile failure with current CVS: can only configure for one host and one target at a time
- References: <200501261621.14926.duncan.sands@math.u-psud.fr>
On Wed, Jan 26, 2005 at 04:21:14PM +0100, Duncan Sands wrote:
> $ ./configure
> ...
> $ make
> ...
> configure: configuring in gdb.gdbtk
> configure: running /bin/sh './configure' --prefix=/usr/local '--prefix=/usr/local' '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--target=i686-pc-linux-gnu' '--with-gnu-as' '--with-gnu-ld' '--program-transform-name=s,y,y,' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'target_alias=i686-pc-linux-gnu' '--cache-file=.././config.cache' '--srcdir=.' --cache-file=../.././config.cache --srcdir=.
> configure: warning: CC=gcc: invalid host type
> configure: warning: CFLAGS=-g -O2: invalid host type
> configure: error: can only configure for one host and one target at a time
> configure: error: /bin/sh './configure' failed for gdb.gdbtk
> configure: error: /bin/sh './configure' failed for testsuite
> make: *** [configure-gdb] Error 1
I recommend checking out just GDB instead of the whole source tree, or
deleting the directories associated with insight. Or reporting the
problem to insight@ and getting them to update their autoconf.
--
Daniel Jacobowitz