This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: TARGET undefined in bucomm.c


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.


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