[distcc] ARM compiler arguments (--var)
francis at francisrobichaud.com
Tue Mar 10 16:15:18 GMT 2009
After reviewing the source code and architecture behind distcc, I
realized that modifying the pump feature would probably be the best
way to achieve distributed compilation with the ARM compiler. Nils and
Fergus briefly explained that the python parser should skip the
default compiler includes
http://lists.samba.org/archive/distcc/2008q2/003655.html . For my
needs, I would remove default includes and add specific support for
--via file1.txt and --depend file2.tmp which both require file1.txt
and file2.tmp to be sent to remote hosts.
I would appreciate if any of you, Martin/Nils/Fergus, could guide me
to accomplish such a task by telling me what files/functions I should
On Thu, Feb 26, 2009 at 6:59 PM, Martin Pool <mbp at sourcefrog.net> wrote:
> 2009/2/27 Francis Robichaud <francis at francisrobichaud.com>:
>> the arm compiler (armcc) uses the --var argument. "Via files are plain
>> text files that contain command-line arguments and options to ARM
>> development tools". When using distcc, the remote compiler says "Could
>> not open via file 'defines.txt'."
>> I understand the error but where should I modify distcc sources to
>> send these files to remote hosts ? I'm pretty sure I could add some
>> code to interpret the --var argument and use temporary files on remote
> The last time I worked on it (in 2.x) distcc needed a concept of
> selecting different compilers from gcc. This probably needs to be
> added, so that you can tell it to understand this only for armcc.
> Fergus &co may now have done this in 3.x.
> Once you've done that you should probably just read in the arguments
> on the client and send them all across. distcc will be happy sending
> many arguments.
> The only problem might be if the arguments need to be in --var because
> they exceed the OS or armcc limit on command line length.
> Martin <http://launchpad.net/~mbp/>
More information about the distcc