Comment 10 for bug 336468

Revision history for this message
In , Gstein-c (gstein-c) wrote :

Ok, tracked it down some more. There is actually already a setup to run local version instead of the installed version using SHLIB in the runtic.sh

Unfortunately the script is broken since it thinks it is cross compiling (which is isn't), it checks the CC vs HOSTCC using
if test "$THAT_CC" = "$THIS_CC"

but this is false because in the calling Makefile:
CC = gcc
HOSTCC = x86_64-pc-linux-gnu-gcc

so it thinks it is a cross compile, changing this to:
CC = x86_64-pc-linux-gnu-gcc
HOSTCC = x86_64-pc-linux-gnu-gcc

also fixes the problem, however obviously breaks real cross-compiles. The major thing is to find the code in Makefile.in or configure that incorrectly make CC be gcc instead of the full name

gary