> From: Pedro Alves <[email protected]> > Cc: [email protected] > Date: Tue, 21 May 2013 21:28:59 +0100 > > While trying to build a --host=i586-pc-msdosdjgpp gdb on GNU/Linux > (Fedora 17), I stumbled on a build error in readline: > > config.status: executing default commands > make: *** No rule to make target `/config.h', needed by `readline.o'. Stop. > > Turns out BUILD_DIR was ending up empty in the Makefile: > > ... > BUILD_DIR = > ... > readline.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h > ... > > The issue is that configure is deciding whether to run pwd.exe or pwd > based on $host_os (msdosdjgpp), while it should be checking $build_os > instead (linux-gnu).
Looks good, thanks. I guess this is a remnant from old days, when host and build were something else. _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
