This is the mail archive of the
mailing list for the GCC project.
Re: Contributing new gcc targets: i386-*-dragonfly and x86-64-*-dragonfly
- From: John Marino <gnugcc at marino dot st>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jonathan Wakely <jwakely dot gcc at gmail dot com>, Gerald Pfeifer <gerald at pfeifer dot com>, manu at gcc dot gnu dot org, "Eric Botcazou (gnu.org)" <ebotcazou at gcc dot gnu dot org>
- Date: Fri, 02 May 2014 22:20:03 +0200
- Subject: Re: Contributing new gcc targets: i386-*-dragonfly and x86-64-*-dragonfly
- Authentication-results: sourceware.org; auth=none
- References: <5352D100 dot 9040108 at marino dot st> <Pine dot LNX dot 4 dot 64 dot 1405012259450 dot 16441 at digraph dot polyomino dot org dot uk> <5362DC9B dot 8090709 at marino dot st> <Pine dot LNX dot 4 dot 64 dot 1405021746390 dot 4946 at digraph dot polyomino dot org dot uk> <5363E0F4 dot 4060900 at marino dot st> <Pine dot LNX dot 4 dot 64 dot 1405022013520 dot 7129 at digraph dot polyomino dot org dot uk>
On 5/2/2014 22:15, Joseph S. Myers wrote:
> On Fri, 2 May 2014, John Marino wrote:
>> 1) I don't know which type definitions are missing (iow, the important
>> ones from sys/type.h that are required to build gcc)
> The default presumption should be:
> * <stddef.h> from GCC provides what it needs to provide; nothing extra is
> needed and such a #include should not be needed at all.
> * Special measures to avoid duplicate typedefs (where some other header
> also defines one of the typedefs defined in <stddef.h>) aren't in fact
> needed, because GCC allows duplicate typedefs in system headers (even
> outside C11 mode - in C11 mode it's a standard feature).
> So try removing that #include. If that causes problems, investigate based
> on the actual problems seen.
Okay, will do.