<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">IIRC, Debian and Mageia have patches to deal with the UTF stuff for nCurses....</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 January 2017 at 08:37, Martin Ward <span dir="ltr"><<a href="mailto:macros_the_black@ntlworld.com" target="_blank">macros_the_black@ntlworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is my current build run through<br>
<br>
I only do pure 64, but the specs patch should be good for a multi-lib build<br>
<br>
Cross Compile tools<br>
<br>
For got to put needed gperf in the cross compile section as eudev now needs this to build<br>
<br>
Also I remove all .la files from the build<br>
<br>
Tools Build<br>
<br>
6.3 updated to gmp-6.1.2 added --disable-static<br>
6.4 updated to mpfr-3.15 with patch level 5 added --disable-static<br>
6.5 mpc-1.03 is the latest added --disable-static<br>
6.6 updated to isl 0.18 added --disable-static<br>
used this sed from gentoo to stop .pc files being polluted<br>
sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure<br>
see <a href="https://groups.google.com/group/isl-development/t/37ad876557e50f2c" rel="noreferrer" target="_blank">https://groups.google.com/grou<wbr>p/isl-development/t/37ad876557<wbr>e50f2c</a><br>
probably not necessary but ..<br>
6.7 updated to zlib-1.2.10<br>
6.8 updated to binutils-2.27<br>
added --enable-build-warnings=no --with-system-zlib<br>
6.9 updated to gcc-6.3, specs patch in previous e-mail<br>
this doesn't seem to hurt<br>
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > `dirname $($CLFS_TARGET-gcc -print-libgcc-file-name)`/incl<wbr>ude-fixed/limits.h<br>
<br>
command line for build<br>
../gcc-6.3.0/configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} --libexecdir=/tools/lib --with-local-prefix=/tools --disable-nls --enable-languages=c,c++ --with-native-system-header-di<wbr>r=/tools/include --disable-multilib --with-gmp=/tools --with-mpfr=/tools --with-mpc=/tools --with-isl=/tools --with-system-zlib --enable-checking=release --enable-libstdcxx-time --enable-install-libiberty --disable-libssp<br>
<br>
6.10 updated to latest ncurses patch level<br>
6.11 updated to bash-4.4 plus latest upstream patches<br>
6.12 added a cve patch bzip2recover-CVE-2016-3189.pat<wbr>ch plus bzip2-1.0.4-bzip2recover.patch<wbr>/arch/red-hat and -fPIC flag<br>
6.13 check added --disable-static<br>
6.14 updated to core utils 8.26<br>
used a noman patch to stop it generating man files for the single call binary<br>
plus<br>
set -- man/*.x<br>
touch ${@/%x/1} this stops help2man regenerating the man files for the separate utils<br>
and this sed<br>
sed -i Makefile -e 's;^\(cu_install_program =\).*;\1 install;'<br>
which basically stops a recursive definition happening as it can't find a proper install program when configuring<br>
<br>
6.15 updated to diffutils 3.5<br>
6.16 updated to file 5.29<br>
6.17 updated to findutils 4.60<br>
6.18 updated to gawk 4.14<br>
6.19 updated to gettext-0.19.8.1<br>
6.20 updated to grep 2.27<br>
6.21 updated to gzip 1.8<br>
6.22 updated to make 4.2.1<br>
6.23 patch no change<br>
6.24 updated to sed 4.3<br>
stop man files from being generated<br>
sed -i 's/MANS = $(dist_man_MANS)/#MANS = $(dist_man_MANS)/' Makefile<br>
make<br>
then fake it for the install<br>
set -- doc/*.x<br>
touch ${@/%x/1}<br>
6.25 updated to tar 1.29 plus upstream patch to skip .. extraction<br>
6.26 updated to texinfo 6.3 added --disable-static to make sure the perl libs are shared<br>
6.27 updated to util-linux-2.29 used the following sed's as the configure process looks for the wide version and gets confused in places in detecting stuff<br>
sed -i 's/-lncursesw/-lncurses/' Makefile<br>
sed -i 's/#define HAVE_LIBNCURSESW 1/#define HAVE_LIBNCURSES 1/' config.h<br>
<br>
tried the wide version of ncurses in 6.10, but then had bash complain about it couldn't find ncurses properly in 6.11, this seemed the easy way out<br>
<br>
6.28 don't cross compile vim, use e3 (requires nasm)<br>
6.29 updated to xz-5.2.3<br>
<br>
I also remove all .la files<br>
<br>
hope this helps somewhat<br>
boot file updates to follow<br>
<br>
Martin<br>
<br>
<br>
______________________________<wbr>_________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.clfs.org" target="_blank">Clfs-support@lists.clfs.org</a><br>
<a href="http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org" rel="noreferrer" target="_blank">http://lists.clfs.org/listinfo<wbr>.cgi/clfs-support-clfs.org</a><br>
</blockquote></div><br></div>