]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/cmacexp.el
(compilation-mode-map): Don't inherit from compilation-minor-mode-map;
[gnu-emacs] / lisp / progmodes / cmacexp.el
index a701da6e808f11d258ea966346cc2674e72bd9e4..27fe81e451d6d7ce81290bdb0b3326d8dbccab40 100644 (file)
   :group 'c-macro)
 
 (defcustom c-macro-preprocessor
-  ;; Cannot rely on standard directory on MS-DOS to find CPP.
-  (cond ((eq system-type 'ms-dos) "cpp -C")
+  ;; Cannot rely on standard directory on MS-DOS to find CPP.  In
+  ;; fact, cannot rely on having cpp.exe, either, in latest GCC
+  ;; versions.
+  (cond ((eq system-type 'ms-dos) "gcc -E -C -o - -")
        ;; Solaris has it in an unusual place.
        ((and (string-match "^[^-]*-[^-]*-\\(solaris\\|sunos5\\)"
                            system-configuration)
@@ -385,4 +387,5 @@ Optional arg DISPLAY non-nil means show messages in the echo area."
       ;; Cleanup.
       (kill-buffer outbuf))))
 
+;;; arch-tag: 4f20253c-71ef-4e6d-a774-19087060910e
 ;;; cmacexp.el ends here