List Info

Thread: Insight can't find iwidgets when built outside source directory.




Insight can't find iwidgets when built outside source directory.
user name
2007-03-19 14:34:20
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?

Re: Insight can't find iwidgets when built outside source directory.
country flaguser name
United States
2007-03-19 14:44:17
On Mon, Mar 19, 2007 at 08:34:20PM +0100, Josef Wolf wrote:
> Hello!
> 
> I'm trying to build insight-6.6 for cross-debugging.

I recomment you send mail to the insightsourceware.org list; they may
be more able to help you.

>    mkdir build-arm ; 
>    ( cd build-arm ; 
>      CC=arm-elf-gcc CFLAGS=foo LDFLAGS=bar ../configure
--host=arm-linux ;
>      make
>    )
>  )

If all you need is gdbserver here, you can run
../gdb/gdbserver/configure.

Note: that is not general advice.  It applies only to
gdbserver, not
to any other subdirectories of src.

-- 
Daniel Jacobowitz
CodeSourcery

Re: Insight can't find iwidgets when built outside source directory.
user name
2007-03-20 01:37:55
On Mon, Mar 19, 2007 at 03:44:17PM -0400, Daniel Jacobowitz
wrote:
> On Mon, Mar 19, 2007 at 08:34:20PM +0100, Josef Wolf
wrote:

> > I'm trying to build insight-6.6 for
cross-debugging.
> I recomment you send mail to the insightsourceware.org list; they may
> be more able to help you.

Oh.  I thought insight is covered by the gdb project since
it is pretty
much woven into gdb.

> >    mkdir build-arm ; 
> >    ( cd build-arm ; 
> >      CC=arm-elf-gcc CFLAGS=foo LDFLAGS=bar
../configure --host=arm-linux ;
> >      make
> >    )
> >  )
> 
> If all you need is gdbserver here, you can run
> ../gdb/gdbserver/configure.
> 
> Note: that is not general advice.  It applies only to
gdbserver, not
> to any other subdirectories of src.

Thanks.

Since I want both, gdb _and_ insight, I'll probably build
gdb+gdbserver
from gdb sources, totally avoiding the mentioned problem.  I
just thought
it would make sense to fix the real problem.

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )