Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1547029
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing |
| Date | 2016-12-24 07:30 +0100 |
| Message-ID | <sRO09-3a6-5@gated-at.bofh.it> (permalink) |
| References | <sRpXP-2a2-1@gated-at.bofh.it> <sRvTz-674-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Jiri, 2016-12-23 19:59 GMT+09:00 Jiri Olsa <jolsa@redhat.com>: > On Fri, Dec 23, 2016 at 01:46:42PM +0900, Masahiro Yamada wrote: >> The top-level Makefile defines: >> >> CPP = $(CC) -E > > hum, so that'd work for running from top level, but I guess > it fails for compiling from other places..? like tools/perf I thought users are supposed to build tools from the top-level, but seems it is not necessarily true according to your statement. I am not quite sure how CC, AS, etc. are set-up, then. Perhaps, relying on Make-builtin variables? $ make --print-data-base | grep CPP showed me the default of CPP is CPP = $(CC) -E I guess you are more familiar to the tools-build area, so I follow your decision. -- Best Regards Masahiro Yamada
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-12-23 05:50 +0100
Re: [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Jiri Olsa <jolsa@redhat.com> - 2016-12-23 12:10 +0100
Re: [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-12-24 07:30 +0100
csiph-web