> 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
> 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
Look in ./configure where the compiler version is obtained:
-----
# Obtain the compiler version.
#
# A few examples of how the ${CC} --version output looks like:
[[snip]]
gcc_version=`${CC} -dumpversion 2>/dev/null`
if test "x$gcc_version" = x; then
gcc_version=`${CC} --version \
| $SED -n -e 's/[^ ]*gcc[^ ]* ([^)]*) \([0-9.]*\).*$/\1/p' \
-e 's/[^ ]*clang version \([0-9.]*\).*$/\1/p'`
fi
-----
Change that so that gcc_version becomes "4.3.2". You can try to be clever
by enhancing the editing parameters that are specified to $SED,
or you can just add a statement
gcc_version=4.3.2
after the existing statement "gcc_version=`$(CC) --version ..." and before the
"fi".
--
------------------------------------------------------------------------------
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