GDB build failure from tip

Stefan Hallas Mulvad shm@hallas.nu
Wed Jul 27 18:11:00 GMT 2016


Hi Andy,

Sorry, should have mentioned that - glad it worked out ;=)

Best regards,
Stefan

> On Jul 27, 2016, at 10:31 AM, ANDY KENNEDY <ANDY.KENNEDY@adtran.com> wrote:
> 
> Stefan,
> 
> Thanks!  That did work (after I saved the file -- you didn't
> tell me I had to make the change AND save the file ;)).
> 
> Andy
> 
>> -----Original Message-----
>> From: crossgcc-owner@sourceware.org [mailto:crossgcc-owner@sourceware.org] On Behalf Of ANDY KENNEDY
>> Sent: Tuesday, July 26, 2016 7:13 PM
>> To: 'Stefan Hallas Mulvad'
>> Cc: crossgcc@sourceware.org
>> Subject: RE: GDB build failure from tip
>> 
>> 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
> 
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20160727/58589933/attachment.sig>


More information about the crossgcc mailing list