On 28/05/13 16:45, William Harrington wrote:

On May 28, 2013, at 10:26 AM, William Harrington wrote:

Have encountered no major problems with 4.8.0 and 4.8.1 will be out in a week or so

Hello Martin,

I saw your post in clfs-support regarding the options used for gcc 4.8.0 cross static and cross final and final system gcc. What worked for you during temp system gcc?

Sincerely,

William Harrington


_______________________________________________
Clfs-dev mailing list
Clfs-dev@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
To summarise pure 64 bit build

Cross gcc-static

AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-4.8.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 --disable-nls --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools --without-headers --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap --disable-libssp --disable-threads --disable-multilib --disable-libatomic --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-target-libiberty --disable-target-zlib --with-system-zlib --enable-cloog-backend=isl --disable-cloog-version-check --enable-languages=c --enable-checking=release

Cross gcc
AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-4.8.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 --disable-nls --with-sysroot=/mnt/clfs --with-local-prefix=/tools --disable-nls --enable-shared --disable-static --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl --with-system-zlib --disable-cloog-version-check --enable-checking=release --enable-libstdcxx-time


temp gcc

CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" ../gcc-4.8.0/configure 
--prefix=/tools --disable-multilib --build=${CLFS_HOST}
--host=${CLFS_TARGET} --target=${CLFS_TARGET} --libexecdir=/tools/lib 
--with-local-prefix=/tools --enable-long-long --enable-c99
--enable-shared --enable-threads=posix --disable-nls --enable-__cxa_atexit 
--enable-languages=c,c++ --disable-libstdcxx-pch --enable-cloog-backend=isl 
--with-system-zlib --with-native-system-header-dir=/tools
--disable-libssp --disable-install-libiberty --disable-cloog-version-check 
--enable-checking=release --enable-libstdcxx-time

final gcc

--prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-libstdcxx-pch --enable-cloog-backend=isl --with-system-zlib --disable-cloog-version-check --enable-checking=release --enable-libstdcxx-time --disable-install-libiberty


patches for pure as posted before
removed

echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR 
"/tools/include/"\n\n' >> gcc/config/linux.h

in both cross and temp builds as its not needed covered by the switch 
--with-native-system-header-dir=/tools


hope that covers most of it

martin







_______________________________________________
Clfs-dev mailing list
Clfs-dev@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to