GDB build failure from tip
ANDY KENNEDY
ANDY.KENNEDY@adtran.com
Wed Jul 27 00:13:00 GMT 2016
Stefan,
Looks like I was seriously confused on the below...
So, I guess the below "CROSS_STATIC" means the gdb built
for the TARGET to run on HOST. . .
This seems too confusing to me (and backwards).
Anyways, using your patch now and I found that it didn't work.
Thanks!
Andy
> Line 95:
> CC_for_gdb="${CT_HOST}-gcc ${CT_CFLAGS_FOR_HOST} ${CT_LDFLAGS_FOR_HOST}"
> LD_for_gdb="${CT_HOST}-ld ${CT_LDFLAGS_FOR_HOST}"
> if [ "${CT_GDB_CROSS_STATIC}" = "y" ]; then
> CC_for_gdb+=" -static"
> LD_for_gdb+=" -static"
> fi
>
> Line 195:
> [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
> native_extra_config+=("--disable-nls")
>
> if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
> CC_for_gdb="${CT_TARGET}-gcc -static"
> LD_for_gdb="${CT_TARGET}-ld -static"
> else
> CC_for_gdb="${CT_TARGET}-gcc"
> LD_for_gdb="${CT_TARGET}-ld"
> fi
>
> Thanks for the info, though!
>
> Andy
>
> >
> > Hope it works,
> >
> > Best regards,
> > Stefan
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list