tech-toolchain archive

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

Re: make -d C no-op?



    Date:        Sat, 13 May 2023 12:31:58 +0200
    From:        tlaronde%polynum.com@localhost
    Message-ID:  <ZF9nHrEIPPqFwqay%polynum.com@localhost>

  | $ cd /usr/src/usr.bin/make
  | $ egrep "DEBUG[1-5]?\(CWD" *
  | $
  | $  fgrep debug.DEBUG_CWD *
  | main.c:                 debug.DEBUG_CWD = true;
  |
  | Am I right in concluding that the C flag is not implemented / a no-op?

No.

  | or am I looking at the wrong place or not invoking it correctly?

You have been chasing the wrong C ...   (so that is yes, looking in the
wrong place).   Start in main.c:MainParseArg() look for 'C' in there.
The 'C' in MainParseArgDebug() is the 'C' that can appear after a -d
to set the debug flags, hence the "debug.DEBUG_CWD = true;".

kre



Home | Main Index | Thread Index | Old Index