Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* NAT_FILE set incorrectly in gdb/Makefile
@ 2009-04-19 19:00 Eli Zaretskii
  2009-04-19 21:35 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2009-04-19 19:00 UTC (permalink / raw)
  To: gdb-patches

"make TAGS" curses thusly:

  Making TAGS
  .././gdb/config/i386/config/i386/nm-linux64.h: No such file or directory

This is on GNU/Linux, obviously, but I see the equivalent error
message in the DJGPP build.

The problem is this line from gdb/Makefile:

  NAT_FILE= config/i386/config/i386/nm-linux64.h

which is obviously incorrect.  It looks like the culprit is this line
from configure.ac:

  sed -e '/^NAT_FILE[     ]*=/s,^NAT_FILE[        ]*=[    ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp

which seems to run twice, perhaps once by configure, the other time by
config.status.  But that's a guess; the truth is I have no idea why
config/i386 gets prepended twice.  Does anyone see the villain?


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

end of thread, other threads:[~2009-04-21 18:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-19 19:00 NAT_FILE set incorrectly in gdb/Makefile Eli Zaretskii
2009-04-19 21:35 ` Andreas Schwab
2009-04-20 17:09   ` Tom Tromey
2009-04-20 21:29     ` Andreas Schwab
2009-04-21 18:25       ` Tom Tromey
2009-04-20 18:58   ` Eli Zaretskii

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