|
From: Brilliantov K. V. <bri...@by...> - 2012-01-11 09:05:29
|
Hello! Configure options: ./configure --prefix=/tmp/valgrind --host=arm --disable-tls CC=arm_v5t_le-gcc But I get error: checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking dependency style of arm_v5t_le-gcc... gcc3 checking for diff -u... yes checking for a supported version of gcc... no (5) configure: error: please use gcc >= 3.0 or clang >= 2.9 This is very strange, because: ~$ arm_v5t_le-gcc --version arm_v5t_le-gcc (GCC) 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30) I try another cross-compiler, but it not solve problem: $ ./configure --prefix=/tmp/valgrind --host=arm --disable-tls CC=/home/kirill/MVK-IP/SDK/SourceryG++/bin/arm-none-linux-gnueabi-gcc ................................. checking for diff -u... yes checking for a supported version of gcc... no (2009) configure: error: please use gcc >= 3.0 or clang >= 2.9 $ ~/MVK-IP/SDK/SourceryG++/bin/arm-none-linux-gnueabi-gcc --version arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q1-203) 4.3.3 How can I solve this problem? -- Best regards, Brilliantov Kirill Vladimirovich |
|
From: Baurzhan I. <ib...@ra...> - 2012-01-11 09:11:08
|
On Wed, Jan 11, 2012 at 12:23:20PM +0400, Brilliantov Kirill Vladimirovich wrote: > checking for a supported version of gcc... no (5) > configure: error: please use gcc >= 3.0 or clang >= 2.9 I'd look into config.log to see how configure comes to that. With kind regards, Baurzhan. |
|
From: Bart V. A. <bva...@ac...> - 2012-01-11 11:40:41
|
On Wed, Jan 11, 2012 at 9:23 AM, Brilliantov Kirill Vladimirovich <bri...@by...> wrote: > configure: error: please use gcc >= 3.0 or clang >= 2.9 > > How can I solve this problem? It's a bug in the configure script. You can either modify the gcc version check in configure.in or check out the Valgrind svn trunk r12327 or later. Bart. |