TARGET undefined in bucomm.c

H.J. Lu hjl.tools@gmail.com
Tue Jun 7 18:58:00 GMT 2011


On Tue, Jun 7, 2011 at 11:26 AM, Luke <hazelnusse@gmail.com> wrote:
> Here are the first lines of bucomm.i:
>
> # 1 "../../binutils/bucomm.c"
> # 1 "/home/luke/repos/summon-arm-toolchain/binutils-2.21/build/binutils//"
> # 1 "<built-in>"
> # 1 "<command-line>"
> # 1 "../../binutils/bucomm.c"
> # 26 "../../binutils/bucomm.c"
> # 1 "../../binutils/sysdep.h" 1
> # 25 "../../binutils/sysdep.h"
> # 1 "../../binutils/../include/alloca-conf.h" 1
> # 1 "../bfd/config.h" 1
> # 2 "../../binutils/../include/alloca-conf.h" 2
>
>
> # 1 "/usr/include/alloca.h" 1 3 4
> # 22 "/usr/include/alloca.h" 3 4
> # 1 "/usr/include/features.h" 1 3 4
>
> So, for some reason, it is finding config.h in the bfd folder.
>
> What should I do to fix this?
>

Don't put build directory inside binutils source tree.


H.J.



More information about the Binutils mailing list