ccache + distcc trouble/issue & fix
Hendrik Visage
hvisage at envisage.co.za
Wed Jan 15 23:32:51 GMT 2003
Hi there,
The cuurent ccache + distcc setup have a small trouble/misdesign,
as can be seen from the following snippet of a ccache log file:
Not a C/C++ file - /usr/bin/gcc
Not a C/C++ file - /usr/bin/gcc
Not a C/C++ file - /usr/bin/gcc
multiple input files (/usr/bin/gcc and conftest.c)
multiple input files (/usr/bin/gcc and conftest.c)
multiple input files (/usr/bin/gcc and conftest.c)
multiple input files (/usr/bin/gcc and conftest.c)
multiple input files (/usr/bin/gcc and conftest.c)
The fix for the above, is to change the /var/lib/lunar/compilers scripts
to the following type of fix:
PATH=/usr/bin:$PATH $CXX_EXT g++ $CCOPT "$@"
See Attached files for the already fixed files.
Greetz
Hendrik
-------------- next part --------------
#!/bin/bash
PATH=/usr/bin:$PATH $CXX_EXT g++ $CCOPT "$@"
-------------- next part --------------
#!/bin/bash
PATH=/usr/bin:$PATH $CC_EXT gcc $COPT "$@"
-------------- next part --------------
#!/bin/bash
PATH=/usr/bin:$PATH $CXX_EXT g++ $CCOPT "$@"
-------------- next part --------------
#!/bin/bash
PATH=/usr/bin:$PATH $CC_EXT gcc $COPT "$@"
More information about the Lunar
mailing list