[distcc] ARM compiler arguments (--var)
mbp at sourcefrog.net
Thu Feb 26 22:59:58 GMT 2009
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
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.
More information about the distcc