Stefan Reinauer wrote:
After fiddling a bit more I changed the patch so it does not necessarily disable *restrict and other (not-used-yet) features from C99 as the upcoming gcc HEAD will probably change the fact that these are more or less noops. There was some discussion on this list on probing compiler features before actually using them instead of making vague assumptions on what version supports which feature. Instead of using a vast amount of autoconf/automake magic, I wrote a small perl script that calls the compiler with simple code fragments and analyzes these afterwards using nm. This way it is also usable when cross compiling. Basically the patch removes types.h as it will be autogenerated plus the already known ANSI fixes (mostly applying a regexp to change comment style) The configuration script conf.pl also checks for available data types and chooses the needed ones to set up the internal structures. gcc's TI mode is probed and, if available and needed, it is used.
Any comments? ;)
Sounds very nice. Particularly because i hope that i can omit it and edit "types.h" by hand :-)))
I like automatic things, which _can_ be switched off simply. So i would ask for the presence of at least one "generic" types.h file.
Just my 2 EuroCents
- To unsubscribe: send mail to email@example.com with 'unsubscribe openbios' in the body of the message http://www.freiburg.linux.de/OpenBIOS/ - free your system..