From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22334 invoked by alias); 19 Mar 2007 19:40:25 -0000 Received: (qmail 22323 invoked by uid 22791); 19 Mar 2007 19:40:25 -0000 X-Spam-Check-By: sourceware.org Received: from quechua.inka.de (HELO mail.inka.de) (193.197.184.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Mar 2007 19:40:19 +0000 Received: from raven.inka.de (uucp@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1HTNiK-0008E9-Bk; Mon, 19 Mar 2007 20:40:16 +0100 Received: by raven.inka.de (Postfix, from userid 1000) id 670613AB2D; Mon, 19 Mar 2007 20:34:20 +0100 (CET) Date: Mon, 19 Mar 2007 19:40:00 -0000 From: Josef Wolf To: gdb@sourceware.org Subject: Insight can't find iwidgets when built outside source directory. Message-ID: <20070319193420.GC26951@raven.wolf.local> Mail-Followup-To: Josef Wolf , gdb@sourceware.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00219.txt.bz2 Hello! I'm trying to build insight-6.6 for cross-debugging. Since gdbserver and insight need different configure settings, I decided to configure+build it outside insight's source directory. With this, insight complains that it can't find iwidgets. When I configure and build it from withhin its source directory, it works as expected. How do I tell insight that it should search the iwidgets in its source directory? This is what I am currently doing: tar xjvf insight-6.6.tar.bz2 ( cd insight-6.6 ;\ mkdir build ; \ ( cd build; \ CC= CFLAGS= LDFLAGS= ../configure --target=arm-linux --with-sysroot ; \ make ) ; \ mkdir build-arm ; \ ( cd build-arm ; \ CC=arm-elf-gcc CFLAGS=foo LDFLAGS=bar ../configure --host=arm-linux ;\ make ) ) Any ideas?