Fighting waf for C preprocessor output.
abartlet at samba.org
Sat Mar 14 06:48:47 UTC 2020
On Fri, 2020-03-13 at 21:58 -0700, Jeremy Allison via samba-technical
> 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 :-).
I wrote this script to help a while ago:
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical