[PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation
Bill Schmidt
wschmidt@linux.vnet.ibm.com
Thu Aug 22 18:39:00 GMT 2013
On Thu, 2013-08-22 at 19:47 +0200, Jakub Jelinek wrote:
> On Thu, Aug 22, 2013 at 09:39:48AM -0500, Bill Schmidt wrote:
> > Hi Christian and Jakub,
> >
> > I'm curious whether there was ever any resolution for:
> > http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01124.html.
>
> The last mail I remember didn't make any sense:
> #include "tconfig.h"
>
> that includes it:
>
> #ifndef GCC_TCONFIG_H
> #define GCC_TCONFIG_H
> #ifndef USED_FOR_TARGET
> # define USED_FOR_TARGET
> #endif
> #include "auto-host.h"
>
> in which there is :
>
> #ifndef USED_FOR_TARGET
> #define HAVE_SYS_SDT_H 1
> #endif
>
> That means USED_FOR_TARGET is defined and thus HAVE_SYS_SDT_H is never
> defined, which is not desirable.
>
> Jakub
>
Yes, that doesn't seem right at all. OK, thanks. I'll stick this on a
list as a low-priority item to fix one of these days.
Thanks,
Bill
More information about the Gcc-patches
mailing list