[Buildroot] download problem

Miroslaw Dach miroslaw.dach at psi.ch
Wed May 16 15:12:15 UTC 2007


I have set BR2_TARGET_OPTIMIZATION

BR2_TARGET_OPTIMIZATION="-Os -pipe -O -mcpu=405 --with-cpu=405 
--enable-cxx-flags=-mcpu=405"



but I do not see that the toolchain was build with 
those options for the ppc_405 architecture:

/root/buildroot/build_powerpc/staging_dir/bin/powerpc-linux-uclibc-gcc -v

Using built-in specs.
Target: powerpc-linux-uclibc
Configured with: 
/root/buildroot/toolchain_build_powerpc/gcc-4.1.2/configure 
--prefix=/root/buildroot/build_powerpc/staging_dir 
--build=i386-pc-linux-gnu --host=i386-pc-linux-gnu 
--target=powerpc-linux-uclibc --enable-languages=c --disable-__cxa_atexit 
--enable-target-optspace --with-gnu-ld 
--with-gmp=/root/buildroot/toolchain_build_powerpc/gmp 
--with-mpfr=/root/buildroot/toolchain_build_powerpc/mpfr --enable-shared 
--disable-nls --enable-threads --disable-multilib
Thread model: posix
gcc version 4.1.2


My previously build crosstool gave the output as following:

bash SLSBASE=]# ./powerpc-405-linux-gnu-gcc -v
Using built-in specs.
Target: powerpc-405-linux-gnu
Configured with: 
/home/ioc/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-4.0.2-glibc-2.3.2/gcc-4.0.2/configure 
--target=powerpc-405-linux-gnu --host=i686-host_pc-linux-gnu 
--prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu 
--with-cpu=405 --enable-cxx-flags=-mcpu=405 
--with-headers=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include 
--with-local-prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu/powerpc-405-linux-gnu 
--disable-nls --enable-threads=posix --enable-symvers=gnu 
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared 
--enable-c99 --enable-long-long
Thread model: posix
gcc version 4.0.2


In the toolchain which was created by buildroot I do not see the options 
like:

--with-cpu=405 
--enable-cxx-flags=-mcpu=405

Best Regards

Mirek



=============================================================================
          Miroslaw Dach (Miroslaw.Dach at psi.ch) - SLS/Controls Group 
                PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================




More information about the buildroot mailing list