Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Insight can't find iwidgets when built outside source directory.
@ 2007-03-19 19:40 Josef Wolf
  2007-03-19 19:44 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Josef Wolf @ 2007-03-19 19:40 UTC (permalink / raw)
  To: gdb

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Insight can't find iwidgets when built outside source  directory.
  2007-03-19 19:40 Insight can't find iwidgets when built outside source directory Josef Wolf
@ 2007-03-19 19:44 ` Daniel Jacobowitz
  2007-03-20  6:40   ` Josef Wolf
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-03-19 19:44 UTC (permalink / raw)
  To: Josef Wolf, gdb

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 insight@sourceware.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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Insight can't find iwidgets when built outside source directory.
  2007-03-19 19:44 ` Daniel Jacobowitz
@ 2007-03-20  6:40   ` Josef Wolf
  0 siblings, 0 replies; 3+ messages in thread
From: Josef Wolf @ 2007-03-20  6:40 UTC (permalink / raw)
  To: gdb

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 insight@sourceware.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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-20  6:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-19 19:40 Insight can't find iwidgets when built outside source directory Josef Wolf
2007-03-19 19:44 ` Daniel Jacobowitz
2007-03-20  6:40   ` Josef Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox