[csw-maintainers] compiler vs compiler
Philip Brown
phil at bolthole.com
Wed Mar 16 17:28:44 CET 2011
On Tue, Mar 15, 2011 at 7:40 PM, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from Philip Brown's message of Mon Mar 14 21:27:30 -0400 2011:
>
>> With things that have complex build environments, and build tools, the
>> "nice" thing for the maintainer to do, is to hand-patch the compiling
>> wrapper to be "polymorphic".
>> To change the arguments based on the value of $CC
>
> This works, but is a pita for the maintainer and somewhat so for the
> user.
How is "I dont have to think; the tool will do it for me", a "pita for
the user" ??
> I think a better approach is the one I'm taking with
> ruby...Provide the sun cc version of everything by default, but it's
> setup with alternatives for any binary, etc files that matter. Then,
> offer a -gcc4 sub-package that provides higher priority alternatives
> that use gcc.
>
> This makes it easier for the maintainer (build via modulations in GAR,
> no patching required) and the users who can now toggle the preference
> with a standard tool.
Err, no... *users* cannot toggle the preference. only sysadmins can.
Thats why its not the best solution.
More information about the maintainers
mailing list