Skip to content

Proper gcc header dir handling in sparse.

Alexey zaytsev linux-sparse 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Set gcc include path at runtime.Makefile lib.c pre-process.c+99 -271 reply
2/4Let cgcc pass -gcc-base-dir to sparse.cgcc+13 -10 replies
3/4Document -gcc-base-dir in sparse.1sparse.1+5 -00 replies
4/4Rename dirafter to idirafter.lib.c pre-process.c+7 -121 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchSam Ravnborg
1/4
2/4
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Proper gcc header dir handling in sparse.

[Resending with correct ml address. Sorry.]

Hello.

People have convinced me that sparse should take gcc base directory as a run-time parameter, so it could be used with gcc versions differing from the one sparse was compiled with.
So here it goes, along with some related fixes.

The patches may also be pulled from

git://git.zaytsev.su/git/sparse.git git-base-dir

Also, the first two patches should fix the Debian bug 505177:

       http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505177

---

Alexey zaytsev (4):
Set gcc include path at runtime.
Let cgcc pass -gcc-base-dir to sparse. Document -gcc-base-dir in sparse.1 Rename dirafter to idirafter.

 Makefile      |    7 ++--
 cgcc          |   14 ++++++++
 lib.c         |   30 ++++++++++++-----
 pre-process.c |   98 +++++++++++++++++++++++++++++++++++++++++++++------------
 sparse.1      |    5 +++
 5 files changed, 119 insertions(+), 35 deletions(-)