[OpenAFS-devel] Re: Choice of C compiler on AIX

Tom Keiser tkeiser@sinenomine.net
Mon, 4 Oct 2010 18:00:43 -0400


On Mon, Oct 4, 2010 at 5:41 PM, Andrew Deason <adeason@sinenomine.net> wrote:
> On Mon, 4 Oct 2010 17:25:41 -0400
> Tom Keiser <tkeiser@sinenomine.net> wrote:
>
>> I'm pretty sure what Andrew is saying about vac.cfg is correct; if we
>> want to have exactly one invocation, then we're going to simplify the
>> build system at the expense of not playing well at sites that expect
>> vac.cfg to take care of everything for them...
>
> That was more for the case where we do just invoke xlc and change the
> flags to make it more like xlc_r and cc. If we just use xlc_r as-is for
> everything and that works (should that work? should we just try it?),

I'd say try it.  AIUI, the major differences in the implicit flags are
as follows:

cc:
  -qlanglvl=extended -lc

xlc_r:
  -qlanglvl=ansi -qansialias -D_THREAD_SAFE -L/usr/lib/threads -lpthread -lc_r

-Tom