This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnulib dependency in gdbserver


On Wed, Jun 25, 2008 at 05:13:42PM -0400, Joel Brobecker wrote:
> > instead, if you build them both in separate object directories, things
> > will just work out.
> 
> I think I can see why things should work for most things (things such
> as the generation of the reg-*.c files for instance), but I can't
> figure out things should work for gnulib.

I think I'm beginning to understand your problem.  Did you say
something about LynxOS?  Have you got a local gdbserver port to
a target in which this rule:

>         $(CC) -o memmem.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<

is not sufficient?

The only targets in tree are Linux and Windows.  On Windows, the
supplied memmem compiles fine with system headers.  On Linux, it is
skipped.  If LynxOS is not sufficient, then as part of the port you'll
need a better solution to this.

I tried to configure gnulib from $(srcdir)/../gnulib into
$(objdir)/gnulib but couldn't get it to work.  Might be worth another
shot.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]