[distcc] ARM compiler arguments (--var)

Martin Pool mbp at sourcefrog.net
Thu Feb 26 22:59:58 GMT 2009


2009/2/27 Francis Robichaud <francis at francisrobichaud.com>:
> hello,
> 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
> hosts.

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 mailing list