r8754 - in trunk/BOOK: chapter01 chapter05 chapter06

Greg Schafer gschafer at zip.com.au
Wed Dec 3 21:25:46 PST 2008


jhuntwork wrote:

> Initial addition of support for x86_64

???

This is nothing like the new build method at all. It appears you've taken
stuff from the old jh branch, which is now completely outdated because
it's based on the old build method.. Ughh. Not sure where you're going
dude, but this is definitely the wrong way to do 64-bit. As stated
earlier, I'm not touching the old method with a 10 foot pole..


> Modified: trunk/BOOK/chapter06/creatingdirs.xml
> ===================================================================
> --- trunk/BOOK/chapter06/creatingdirs.xml	2008-12-03 22:04:18 UTC (rev 8753)
> +++ trunk/BOOK/chapter06/creatingdirs.xml	2008-12-03 22:46:04 UTC (rev 8754)
> @@ -24,6 +24,8 @@
>  for dir in /usr /usr/local; do
>    ln -sv share/{man,doc,info} $dir
>  done
> +ln -sv lib /lib64
> +ln -sv lib /usr/lib64
>  mkdir -v /var/{lock,log,mail,run,spool}
>  mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>

I realize it's early days, but how are you going to distinguish between
32-bit and 64-bit builds? As it stands, you're creating 64-bit dirs even
in the 32-bit case.

> Modified: trunk/BOOK/chapter06/readjusting.xml
> ===================================================================
> --- trunk/BOOK/chapter06/readjusting.xml	2008-12-03 22:04:18 UTC (rev 8753)
> +++ trunk/BOOK/chapter06/readjusting.xml	2008-12-03 22:46:04 UTC (rev 8754)

> -<screen><userinput>gcc -dumpspecs | sed \
> -    -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2 at g' \
> +<screen><userinput>gcc -dumpspecs | sed -e 's@/tools@@g' \

So you went ahead and snuck this in anyway?

Regards
Greg
-- 
http://www.diy-linux.org/




More information about the lfs-dev mailing list