Hello, Using crosstool-ng I created a gcc for Pentium-M running vanlilla 2.6.27.35 I used this compiler to build the kernel, busy box and a device driver I wrote.
Now I want to use this toolchain to compile valgrind 3.7.0 (last release). So I ran "export CC=/home/zvivered/gnu/toolchain/release/bin/i686-nptl-linux-gnu-gcc" before running ./configure I got the following output: .... checking dependency style of /home/zvivered/gnu/toolchain/release/bin/i686-nptl-linux-gnu-gcc... gcc3 checking for diff -u... yes checking for a supported version of gcc... no (686) configure: error: please use gcc >= 3.0 or clang >= 2.9 If I run gcc --version (on my gcc) I get: .i686-nptl-linux-gnu-gcc (crosstool-NG-1.5.2) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. If I run gcc --version on the default gcc installed on my Centos 5.3 I get: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52) Copyright (C) 2006 Free Software Foundation, Inc. With the default gcc, valgrind is built OK. I found a similar question in google but the fix in ./configure did not help. Can you help ? Thanks, Zvika. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
