[Clfs-support] Current Patches and Updates
Martin Ward
macros_the_black at ntlworld.com
Sat Jan 14 17:30:14 PST 2017
Here is my current build run through
I only do pure 64, but the specs patch should be good for a multi-lib build
Cross Compile tools
Built from Built from 32 bit CLFS kernel 2.6.38.3, glibc 2.14, gcc 4.6.1
Very similar to current dev versipon
I use porg to log my build, the current version cross compiles nicely
5.2 File updated to 5.29
5.3 kernel headers update to latest kernel currently 4.9.3
5.4 M4 updated to 1..4.18
5.5 Ncurses update to latest patch level can provide patch if needed
5.6 Pkg-config lite, don't use , prefer pkg-conf, version 1.1.1 currently
./configure --prefix=/cross-tools
--with-pkg-config-dir=/tools/lib/pkgconfig:/tools/share/pkgconfig
ln -sv /cross-tools/bin/pkgconf /cross-tools/bin/pkg-config
5.7 gmp updated to 6.1.2
5.8 mpfr updated to 3.1.5 patch level 5
5.9 mpc no change
5.10 isl updated 0.18
5.11 cross binutils updated to 2.27 (2.28 is imminent)
removed with gold as build toolchain is to old and really can't see why
we need it anyway at this stage
added --with-system-zlib
5.12 cross gcc static, updated to 6.3.0 (specs patch attached, it was
for 6.1 but still works for 6.x versions, should be multi lib ok)
my build command
AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-6.3.0/configure
--prefix=/cross-tools --build=${CLFS_HOST} --host=${CLFS_HOST}
--target=${CLFS_TARGET} --with-sysroot=${CLFS}
--with-local-prefix=/tools
--with-native-system-header-dir=/tools/include --disable-nls
--disable-shared --with-gmp=/cross-tools --with-mpfr=/cross-tools
--with-mpc=/cross-tools --without-headers --with-newlib
--disable-decimal-float --disable-libgomp --disable-libssp
--disable-threads --disable-multilib --disable-libatomic
--disable-libitm --disable-libsanitizer --disable-libquadmath
--disable-libvtv --disable-libcilkrts --disable-libstdc++-v3
--disable-libmpx --disable-target-libiberty --disable-target-zlib
--with-system-zlib --enable-languages=c --enable-checking=release
--disable-werror --with-glibc-version=2.24
5.13 glibc
updated to 2.24, and set kernel to a later version(3.7)
removed --enable-obsolete-rpc , not needed at this stage
5.14 final cross gcc
my build command
AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-6.3.0/configure
--prefix=/cross-tools --build=${CLFS_HOST} --target=${CLFS_TARGET}
--host=${CLFS_HOST} --with-sysroot=${CLFS} --with-local-prefix=/tools
--with-native-system-header-dir=/tools/include --disable-nls
--disable-static --enable-languages=c,c++ --enable-__cxa_atexit
--enable-threads=posix --disable-multilib --with-gmp=/cross-tools
--with-mpc=/cross-tools --with-mpfr=/cross-tools --with-isl=/cross-tools
--with-system-zlib --enable-checking=release --enable-libstdcxx-time
--disable-werror
Further updates for the tools environment later
i would update tickets, but they never seem to get closed, these days
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-6.1.0-pure64_specs-1.patch
Type: text/x-patch
Size: 27403 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20170115/e4c2c633/attachment-0002.bin>
More information about the Clfs-support
mailing list