Hi Martin,
some gcc compiler, especially WindRivver System GNU compiler with CYGWIN, cannot
work with the real unix path TMPDIR - but it really works with mixed case path.
mixed case path on cygwin is like the following:
unix path /tmp
cygwin path /tmp or /cygdrive/c/tmp
cygwin mixed path c:/tmp
Cause of sanity check it's not possible to export a cygwin mixed case path.
Perhaps you can replace the sanity check in dcc_get_tmp_top() in file
src/tempfile.c
with the following - using opendir() call for existeny check:
-------------------- snip snip ----------------------
static const char *dcc_get_tmp_top(void)
{
const char *d;
DIR *handle;
d = getenv("TMPDIR");
handle=opendir(d);
if (NULL==handle) {
return "/tmp";
} else {
closedir(handle);
return d;
}
}
-------------------- snip snip ----------------------
Mit freundlichen Gruessen
best regards
Heiko Elger
********************
ARBURG GmbH + Co
Heiko Elger
- Softwareentwicklung - / - Research and Development -
Arthur-Hehl-Strasse
D-72290 Lossburg
Tel.: +49 (0) 7446 33-3659
Fax.: +49 (0) 7446 33-3365
mailto:[EMAIL PROTECTED]
http://www.arburg.com
Bitte entfernen Sie "NOSPAM" von der Email-Adresse
Please remove "NOSPAM" from the email address
__
distcc mailing list http://distcc.samba.org/
To unsubscribe or change options:
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc