archaic at linuxfromscratch.org
Wed Jun 15 15:28:19 PDT 2005
http://bugs.linuxfromscratch.org/show_bug.cgi?id=1509 has a short
discussion that has turned into how to calculate an SBU.
Basically the issue is this; At which commands do we start and stop the
calculation process? It seems that the most readily definable and
maintainable solution is to include every command that is in grey boxes.
This would exclude testsuites (and I've seen many people question
whether or not testsuites were included in the SBU timings). Currently
BLFS has based its SBU's on these binutils commands:
../binutils-22.214.171.124.2.2/configure --prefix=/tools --disable-nls
Now for the sake of current BLFS svn, I see no need to change this in
6.1, but for future releases I propose the entire build instructions be
used which would add:
make -C ld clean
make -C ld LIB_PATH=/tools/lib
Now there is no reason to add this *except* that section 4.5 of the book
(which explains SBU's) can explicitly state that all commands in grey
text should be encapsulated in the time command if you want to measure
the SBU value for that package. Then it leaves little to chance and
helps keeps all the developers and readers on the same page.
Again, I am proposing this for post-6.1.
Want control, education, and security from your operating system?
Hardened Linux From Scratch
More information about the lfs-dev