Re: useful exercise

kwrohrer@ce.mediaone.net
Thu, 7 Jan 1999 01:27:13 -0600 (EST)


And lo, Tigran Aivazian saith unto me:
>
> Then <linux/autoconf.h> will have to contain all the lines like:
>
> int config_foo = 1;
or #define CONFIG_FOO 1, or 0 or 2...

> which means whatever generates it will have to be modified.
> Also, each config option would waste four bytes of memory, whilst
> preprocessor #define CONFIG_FOO uses no memory at all.
> But, apart from that, imho - good idea :)
#define and if seems the best from a kernel tester's point of view.
#define and #if seems much better for those who just want to compile
the damn thing.

Keith

-- 
 "Well, look at that.  The sun's   | Linux: http://www.linuxhq.com     |"Zooty,
  coming up." -- John Sheridan,    | KDE:   http://www.kde.org         | zoot
  "Sleeping in Light", Babylon 5   | Keith: kwrohrer@enteract.com      | zoot!"
www.midwinter.com/lurk/lurker.html | http://www.enteract.com/~kwrohrer | --Rebo

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/