On Mon, Jun 2, 2014 at 7:28 AM, Jens Rehsack <rehs...@gmail.com> wrote:
> Others (eg. packagers) have always a compiler and want benefit from XS when
> available and what is more important: if the "DEVELOPER MODE FLAGS IS ON",
> they want to have a -Werror behavior even for "I enabled foo and it doesn't
> appear".

I don't understand what you mean by this.

> I'm fine with "Jens' distribution have a non-standard switch", but I
> would prefer a "Toolchain community favors that knob to be used".

In Lancaster, we considered having both a "give me PP" option *and* a
"give me XS" option and the group decided it was less confusing to
have just one.

Here's how I would do it:

(a) if the PP option is there, give them PP
(b) if the PP option is missing/false, check if there is a compiler
(c) if there is a compiler, give them XS or give them death
(d) if there isn't a compiler, give them PP

If for (c) that means running tests under some "XS-only" flag of your
own, that's fine with me.

David


-- 
David Golden <x...@xdg.me> Twitter/IRC: @xdg

Reply via email to