This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


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: GDB build failure from tip


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


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