Fighting waf for C preprocessor output.

Jeremy Allison jra at samba.org
Sat Mar 14 04:58:35 UTC 2020


On Fri, Mar 13, 2020 at 08:15:55PM -0700, Jeremy Allison via samba-technical wrote:
> Does anyone know how to make waf generate
> the actual gcc command line it uses to
> compile .c -> .o ?
> 
> Doing:
> 
> PYTHONHASHSEED=1 WAF_MAKE=1  ./buildtools/bin/waf -v build
> 
> causes it to dump out a python array, bracketed
> by [] characters, but I was hoping not to have
> to fight it any more :-).

Never mind, I turned it into a command line using
the magic of Emacs macros :-).



More information about the samba-technical mailing list