emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /lib/cpp not found in c-mode


From: Eli Zaretskii
Subject: Re: /lib/cpp not found in c-mode
Date: Thu, 05 May 2005 20:50:19 +0300

> From: Stefan Monnier <address@hidden>
> Date: Thu, 05 May 2005 10:17:14 -0400
> Cc: Magnus Henoch <address@hidden>, address@hidden
> 
> >     ((memq system-type '(darwin berkeley-unix)) "gcc -E -C -")
> 
> Testing system-type strikes me as wrong (as usual).

Agreed.

> Since it's the penultimate entry and the last one says "/lib/cpp" we
> should probably just do something more like:
> 
>       ((not (file-executable-p "/lib/cpp")) "gcc -E -C -")

Right, but please amend this to look for cpp.exe etc. on systems that
need that (or perhaps file-executable-p should try that
automatically?).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]