On 29 May 2004, Dan Kegel <[EMAIL PROTECTED]> wrote:
The following is in use in crosstool-0.28-rc16 and works well; it's useful when your servers are offering many toolchains which cannot be distinguished without a pathname, but which are installed as a group at different absolute locations on different machines (as happens commonly when you have a hetrogenous cluster accessing the compilers from a single shared server).
The interface leaves something to be desired, but I didn't want to do real option processing in the first pass (I guess I was lazy). Comments, anyone?
The basic idea of wanting to apply a kind of filter to the compiler name is OK. I would rather see if there was a cleaner/simpler/more general way to describe it though.
I tried to encapsulate the actual filter implementation so it could be replaced by something nicer later. I considered using regexps, but that seemed (a) insecure, (b) more complicated, and (c) harder to use for my application.
I'm going to use my patch as-is for now, but would be happy to consider improvements if anyone had concrete suggestions. - Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
__ distcc mailing list http://distcc.samba.org/
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc