NetBSD-Bugs archive

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

re: bin/56882: /usr/bin/cpp useless in base set

The following reply was made to PR bin/56882; it has been noted by GNATS.

From: matthew green <>
Subject: re: bin/56882: /usr/bin/cpp useless in base set
Date: Mon, 11 Jul 2022 07:40:24 +1000

 >  On Tue, Jun 14, 2022 at 11:40:01AM +0000, Joerg Sonnenberger wrote:
 >   >  >  cpp is also used by xrdb.
 >   >  =
 >   >  If we care enough about non-devel installations, we should add trad=
 >   >  and switch xrdb, calendar and the rest to use that.
 >  =
 >  I am fine with importing tradcpp, but are we sure that all of these
 >  uses currently use -traditional?
 >  =
 >  (Granted they probably *should* but the question is whether they *do*.)
 the alternative (compiler cpp) is *huge*.  /usr/bin/cpp
 invokes /usr/libexec/cc1:
 -r-xr-xr-x  2 root  wheel   1292832 May 30 23:50 /usr/bin/cpp*
 -r-xr-xr-x  1 root  wheel  30104152 May 30 23:51 /usr/libexec/cc1*
 xrdb's configure looks for a "cpp -traditional" option
 being available, and calendar has:
 calendar.c:           (void)execl(_PATH_CPP, "cpp", "-traditional", "-P", =
 so i think tradcpp would work for us here, for at least
 those two applications.

Home | Main Index | Thread Index | Old Index