This is the mail archive of the gdb-patches@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: [PATCH] [readline] Fix !djgpp x djgpp canadian builds.


> From: Pedro Alves <palves@redhat.com>
> Cc: gdb-patches@sourceware.org
> 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.


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