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
> 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 tradcpp
> > 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", "-I.",
so i think tradcpp would work for us here, for at least
those two applications.
thanks.
.mrg.
Home |
Main Index |
Thread Index |
Old Index