Messages in this thread | | | Subject | Re: [PATCH] incomplete dependencies with BK tree (was: Anyone got aic7xxx working with 2.4.26?) | Date | Wed, 28 Apr 2004 00:49:10 +0200 | From | <> |
| |
On 27 abr 2004, at 20:09, Matthias Andree wrote:
> On Tue, 27 Apr 2004, Matthias Andree wrote: > >> On Tue, 27 Apr 2004, J.A.Magallon wrote: >> >>> -nostdinc should be mandatory ? >> >> Seems to be in use on my machine, looking at what "make" prints. > > Given that init wants stdarg.h, -nostdinc is not an option for > init/main.c. >
At least gcc3 has [v][s][n]printf and friends as builtins, and also has __builtin_va_list,_start,_end, etc, so it looks easy to get rid of the stdarg.h dependency.
Easy way: create stdarg.h in kernel includes with defines to builtins. Next step: kill printfs from linux/lib, if __builtins support the same features (ie, kernel printfs do not have any particular % code).
Anybody knows if gcc2.95.3 has this builtins ?
I think gcc builtins are under-used in kernel...
-- J.A. Magallon <jamagallon()able!es> \ Software is like sex: werewolf!able!es \ It's better when it's free MacOS X 10.3.3, Build 7F44, Darwin Kernel Version 7.3.0
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |