Control: retitle -1 cproto: implies it runs /lib/cpp(?), actually runs gcc -E 
by default
Control: tags -1 + upstream

Okay, nevermind that, apparently the preprocessor only runs without -a; however:
  $ strace -fe execve  cproto -D'ARGS_DECL(...)=__VA_ARGS__' -{P,F,C}"int f(a, 
b)" exec.c
  execve("/bin/cproto", ["cproto", "-DARGS_DECL(...)=__VA_ARGS__", "-Pint f(a, 
b)", "-Fint f(a, b)", "-Cint f(a, b)", "exec.c"], 0x7fff563a9f98 /* 32 vars */) 
= 0
  strace: Process 3089145 attached
  [pid 3089145] execve("/bin/sh", ["sh", "-c", "gcc -E 
-DARGS_DECL(...)=__VA_ARG"...], 0x7ffd5d411a90 /* 32 vars */) = 0
  /* exec.c */
  sh: 1: Syntax error: "(" unexpected
  [pid 3089145] +++ exited with 2 +++
  --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3089145, 
si_uid=1000, si_status=2, si_utime=0, si_stime=0} ---
  +++ exited with 0 +++
so, it runs gcc -E.

One'd certainly think it ought run "${CC-cc} -E", but whatever.
It's definitely not running /lib/cpp!

Attachment: signature.asc
Description: PGP signature

Reply via email to