alex lupu wrote:
HI Bruce,

On Wed, Nov 5, 2014 at 8:41 PM, Bruce Dubbs <[email protected]> wrote:

What you don't seem to understand is that bash substitutes the output of
$(getconf _NPROCESSORS_ONLN) before autogen.sh ever sees it.  autogen.sh
never sees $(getconf _NPROCESSORS_ONLN), it only sees (in my case) the
digit 8.


​Yes, I do.

I think I have some sort of clarity now but maybe I'm biased because, as I
said in the OP, I never had to face this problem before.

I never used what to me looked like a very scary line (maybe I don't
like dollar signs in my eyes ?:) so to summarize,

if I were the President I'd issue an Executive Order like this:

1.  Remove the $ line from the book (too hard to understand, too confusing,
unnecessary in most situations).

Is the totally equivalent `getconf _NPROCESSORS_ONLN` also scary?

2.  For people who want to avoid heating problems in using too many cores
during this unusually long build, etc., add

2.1.  Find out the exact number of cores you have available,

       getconf _NPROCESSORS_ONLN

2.2.  Add a line to the command "./autogen.sh --prefix=$LO_PREFIX ..."

       --with-parallelism=<number of cores you would like to use>

While that's right, there are some things that users can figure out for themselves. Perhaps a short sentence to reduce the number if desired would be OK.

PS  As an aside, nobody has yet opined on the first change I suggested in
my OP

You mean $LO_PREFIX? Oops, there's another of those scary dollar signs... :)

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to