This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: christian dot bruel at st dot com, gcc-patches at gcc dot gnu dot org, antonb at au1 dot ibm dot com
- Date: Thu, 22 Aug 2013 13:20:33 -0500
- Subject: Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation
- References: <1377182388 dot 17827 dot 4 dot camel at oc8801110288 dot ibm dot com> <20130822174700 dot GE1814 at tucnak dot redhat dot com>
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