This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Where are Darwin behaviors documented?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Jeffrey Walton <noloader at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 9 Sep 2015 10:54:59 +0100
- Subject: Re: Where are Darwin behaviors documented?
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8=e+=puKsMhaEDM8=ksq5ytmBYGHD_JxAXoH-GQWXbYBw at mail dot gmail dot com>
On 9 September 2015 at 10:51, Jeffrey Walton wrote:
> I'm encountering an issue related to the use of __attribute__
> ((constructor(priority)) and __attribute__ ((init_priority(priority))
> under Darwin, and I want to read more about it. The issue is the
> program fails to compile, which means GCC cannot consume a well
> defined program for which it defined the extensions. Cf.,
> https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
> and https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html.
>
> I know the GCC manual has a section on Darwin specific options at
> https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Darwin-Options.html#Darwin-Options.
>
> Where can I find reading on Darwin specific behavior when it diverges
> from "standard" GCC platform behavior?
That sounds like a bug, so should be fixed rather than documented.