Messages in this thread |  | | Date | Wed, 06 Sep 2000 02:09:24 +0200 | From | Martin Dalecki <> |
| |
Alexander Viro wrote: > > On Wed, 6 Sep 2000, Martin Dalecki wrote: > > > Easy - the same way you do for cross compilation. Basically just: > > > > export CC=g++ --some-magic-long-option-i-dont-remember; make > > ... and you still have only a subset of the tree, simply because it is fed > through cpp before it reaches the parser. And cpp cuts away many pieces. > Different config options and you've got a different subset. Good luck > providing the coverage.
That's not quite the problem - with the exception of the boundary cases of compleatly broken CONFIG_BLAH combinations... You have the fine .confg file there you know... Count them n and take the n! for all the possible config choices. Then you will see that THERE CAN'T be any better automatic approach then just what I have described above (ie. going directly into the compiler) and doing the CONFIG_ handling by hand. (I mean scripting for the most appriopriate choices...)
> > Basically I will just guess: The next maybe non free version of > > source navigator will use the mechanism I have just described above. > > So maybe there is already someone at RedHat doing exactly this work > > already ;-). > > Physically impossible without a major cleanup of the tree.
Yeah... let me be nice to you as well Source Navigator got released for free - since the project died inside RedHat anyway due to the fact that it's full of the worst coding practices I ever saw - like for example literally copy and paste Tcl/Tk/iTcl and such. So instead of buring it they just threw it "out of the window" for "free". - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |