From: H. Peter Anvin Date: Fri, 30 Sep 2005 22:16:48 GMT Subject: Re: [PATCH] Support SPARSE in Makefile, better SPARSE_FLAGS Message-ID: <433DB950.3010909@zytor.com> In-Reply-To: <1128118469.7352.15.camel@dv> Pavel Roskin wrote: > > I know. That's what I'm using in the wrapper (plus -m64 and some > warnings). But it should be the default. Until then, hassle-free > sparse support in the Makefile is only possible for the projects that > already know the architecture (e.g. the Linux kernel). > I think that's debatable. It introduces main-compiler dependencies into sparse which is undesirable. A much simpler option would be to write a "sparsegcc" script which would be invoked just like gcc, extract the appropriate macro information based on options, and then invoke sparse. -hpa