tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mknative-gdb: curses detection failure ... TUI disabled
On Tue, Dec 21, 2010 at 09:00:56PM +0100, Joerg Sonnenberger wrote:
> On Tue, Dec 21, 2010 at 08:50:11PM +0100, Nicolas Joly wrote:
> > On Tue, Dec 21, 2010 at 08:10:03PM +0100, Joerg Sonnenberger wrote:
> > > Isn't the problem exactly what it is saying, missing
> > > -Wl,-rpath-link,${DESTDIR}/usr/lib
> >
> > Yes. But adding it to CCADDFLAGS show some bad side effects during
> > libiberty configuration preventing all headers detection :
>
> Change the Makefile to pass it and -L down via LDFLAGS.
This doesn't work :(
When configuring gdb subdir, it uses HOST_EXPORTS which use forced
empty LDFLAGS !
From gnu/dist/gdb6/Makefile.in:
HOST_EXPORTS = \
[...]
LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
[...]
CFLAGS = @CFLAGS@
LDFLAGS =
LIBCFLAGS = $(CFLAGS)
[...]
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index