[Clfs-support] gcc-4.8.0 clfs

Martin Ward macros_the_black at ntlworld.com
Sun May 26 07:05:56 PDT 2013


On 26/05/13 12:15, bvl wrote:
> On Wednesday 17 April 2013 20:26:10 Martin Ward wrote:
>
>> Try these
>>
>> cross gcc static built  with  these additional flags
>> --with-mpc=/cross-tools --with-system-zlib --disable-target-libiberty
>> --disable-target-zlib --disable-libquadmath --disable-libsanitizer
>> --disable-libatomic --disable-libitm --disable-libssp
>> --with-native-system-header-dir=/tools --disable-cloog-version-check
>> --enable-checking=release
> ---question 1
> do you mean here the equivalent of section 5.15. -Cross GCC-4.6.3 - Static in
> the clfs-dev book?
> and if so should  is this line
> --with-native-system-header-dir=/tools
> correct?
yes for gcc-4.7 and later you need this to enable gcc to find the 
correct header files for the build,

the line to alter the standard include location

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

then becomes redundant

>
>> cross gcc built with these additional flags --with-mpc=/cross-tools
>> --with-system-zlib --enable-cloog-backend=isl
>> --with-native-system-header-dir=/tools --disable-cloog-version-check
>> --enable-checking=release --enable-libstdcxx-time
> ----question2
> do you mean the equivalent of  section 5.17. Cross  GCC-4.6.3 - Final in the
> current dev book and if no which section?
yes, ditto for the -with-native-system-header explanation


section 6.10

i used these flags

--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  built with --with-system-zlib --disable-cloog-version-check
>> --enable-checking=release --enable-libstdcxx-time
> ----question3
> do you mean the equivalent of  section 10.16. GCC-4.6.3 in the current dev
> book and if not which section?
>
yes
>> ppl library is no longer needed, all versions built with eglibc 2.17,
>> binutils 2.23.2 GMP-5.1.1 MPFR-3.1.2 mpc-1.0.1 cloog-0.18.0
>>
>>
>>
> thanks in advance
> bv
>
sorry for confusion

martin



More information about the Clfs-support mailing list