пытаюсь побилдить binutils, gcc 4.3.4, SLED10 64 бита опции:
CFLAGS="-O2 -g -march=i686 -fmessage-length=0 -Wno-unused -static"
LDFLAGS="-s -static"
./configure --prefix=... --enable-shared --with-gnu-ld --with-gnu-as --libdir=... --infodir=... --mandir=... --host=i586-suse-linux --target=i686-tade-linux-gnu --enable-targets=x86_64-tade-linux-gnu --program-prefix=i686-tade-linux-gnu- --with-sysroot=...
получаю ошибку
creating cache ./config.cache
checking host system type... i586-suse-linux-gnu
checking target system type... i686-tade-linux-gnu
checking build system type... i586-suse-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
*** The command '/tmp/xxsmirom/tade_compiler/TadeDevelroot_OU/install/current/usr/bin/i686-tade-linux-gnu-gcc -o conftest -O2 -g -march=i686 -fmessage-length=0 -Wno-unused -static -L/tmp/xxsmirom/tade_compiler/TadeDevelroot_OU/build/current/binutils-2.15.90.0.1.1/usr/lib -s -static conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
вопрос к знатокам - WTF? Компилю с -march=i686, т.к. должно работать и на 32 и на 64-битных машинах