This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: compilation error when using separate build tree


> Also, I've tried setting a couple of the most obvious config options,
> no joy.  I haven't tried it without an explicit "target" flag because
> my ultimate goal is to set up a system that can build a single source
> tree into multiple targets.

Thanks for your bug report. This is not a bug in the compiler, but a
mistake on your side.  When you build a cross-compiler, you need cross
header files while building libgcc.a. See (gcc)Cross Headers for
details.

Regards,
martin

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