On Fri, Aug 21, 2009 at 12:02 AM, Mogens Lindholdt
Lauridsen<m...@bang-olufsen.dk> wrote:
>
> Interesting...,  so what about cross-compiling?
>
> I build valgrind on Suse x86 for PPC32 using a build script like this:
>
>
>          export
> CC=/opt/wrsysroot/x86-linux2/powerpc-wrs-linux-gnu-ppc_603e-glibc_small-gcc
>          export
> CXX=/opt/wrsysroot/x86-linux2/powerpc-wrs-linux-gnu-ppc_603e-glibc_small-g++
>          export
> LD=/opt/wrsysroot/x86-linux2/powerpc-wrs-linux-gnu-ppc_603e-glibc_small-ld
>
>
>          export LDFLAGS=-L/home/mln/evb/rootfs/usr/lib
>
>          tar -xjf valgrind-3.3.1_with_mfspr_patch.tar.bz2
>          cd valgrind-3.3.1
>          ./configure --prefix=/home/mln/valgrind/install_debug
> --enable-shared --host=ppc-linux --target=ppc-linux --enable-debug
> --disable-tls || exit 1
>          make || exit 1
>          make install  || exit 1
>
> Will this give me the correct suppression files?

Cross-compilation was broken in 3.3.0 but works fine with 3.4.0 and
3.4.1 and should still work fine with 3.5.0 (see also
https://bugs.kde.org/show_bug.cgi?id=162295).

Bart.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to