Perl weirdness

Billy O'Connor billyoc at gnuyork.org
Mon Jan 5 07:24:47 PST 2004


Greg Schafer <gschafer at zip.com.au> writes:

>> In Ch 6:
>> What optimizer/debugger flag should be used? [-O2] 
>> 
>> In subsequent Ch 6 reinstalls:
>> What optimizer/debugger flag should be used? [-O3]

> Ok, it's due to a missing "arch" command. The perl hints/linux.sh file
> foolishly uses arch to figure out what opt' level to use:
>
> Clearly, they want to use O3 by default. Rather than hack -Doptimize=
> into the perl build commands for Ch 6, it may well be easier for us to just
> install "arch" in the Ch 5 util-linux section.

Good catch.  Arch should be added if the perl rebuild uses it.

> See? Performing test builds directly from the book XML source does find
> bugs!

hehe.  Just avoiding my cut and paste "bugs" is good enough reason to
use it.  :)

Billy




More information about the lfs-dev mailing list