Hi, In order to be able to respond quicker to compiler changes/bugs/tests, I decided to configure my own toolchain (http://people.debian.org/~debacle/cross.html). Even though, with some trial and error, I got everything working, but I have one strange effect: compared with our current commercial distribution (MVL 3.1), the binaries that are compiled with the "debian" compiler take an immediate performance hit of at least 10%. Any suggestions or comments on this? btw, are there any sites out there which have source packages for powerpc: (or clean and up-to-date HOWTO) even though I have compiled my fair share of debian packages; finding out and getting all the cross compilations options to work seems to be not that obvious. [mleeman@gemini targets]$ powerpc-linux-gcc -v Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.3/specs Configured with: ../src/configure -v --enable-languages=c --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --with-gxx-include-dir=/usr/powerpc-linux/include/g++ --enable-shared --with-as=/usr/powerpc-linux/bin/as --with-gnu-as --with-ld=/usr/powerpc-linux/bin/ld --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --build=i386-linux --host=i386-linux --target=powerpc-linux --enable-languages=c,c++ --with-cpu=603 Thread model: posix gcc version 3.3.3 (Debian 20040401) [mleeman@gemini targets]$ ppc_82xx-gcc -v Reading specs from /opt/montavista/pro/devkit/ppc/82xx/bin/../lib/gcc-lib/powerpc-hardhat-linux/3.3.1/specs Configured with: ../configure --host=i686-pc-linux-gnu --target=powerpc-hardhat-linux --prefix=/opt/montavista/devkit/ppc/82xx --exec-prefix=/opt/montavista/devkit/ppc/82xx --bindir=/opt/montavista/devkit/ppc/82xx/bin --sbindir=/opt/montavista/devkit/ppc/82xx/sbin --sysconfdir=/opt/montavista/devkit/ppc/82xx/etc --datadir=/opt/montavista/devkit/ppc/82xx/share --includedir=/opt/montavista/devkit/ppc/82xx/include --libdir=/opt/montavista/devkit/ppc/82xx/lib --libexecdir=/opt/montavista/devkit/ppc/82xx/libexec --localstatedir=/opt/montavista/devkit/ppc/82xx/var --sharedstatedir=/opt/montavista/devkit/ppc/82xx/share --mandir=/opt/montavista/devkit/ppc/82xx/man --infodir=/opt/montavista/devkit/ppc/82xx/info --program-transform-name=s,^,ppc_82xx-, --enable-cross --with-sysroot=/opt/montavista/devkit/ppc/82xx/target --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-threads=posix --disable-multilib --with-gxx-include-dir='$'{gcc_tooldir}/../target/usr/include/c++/3.3.1 --with-cpu=603 Thread model: posix -- Marc Leeman Hardware R&D Engineer Barco Control Rooms Noordlaan 5, Industriezone, B-8520 Kuurne (BE) Tel. +32 56 368 428 http://www.barcocontrolrooms.com mailto:marc.leeman@barco.com
Attachment:
signature.asc
Description: Digital signature