raspberrypi / tools

1.89k stars 865 forks source link

Cross compiling issue with gcc6.4 #92

Open Bhavya0112 opened 6 years ago

Bhavya0112 commented 6 years ago

I am hitting cross compiling issues with gcc6.4 ./configure AR=aarch64-linux-gnu-ar CC=aarch64-linux-gnu-gcc RANLIB=aarch64-linux-gnu-ranlib STRIP=aarch64-linux-gnu-strip --host=arm-linux --target=arm-linux LDFLAGS="-static -pthread" -linux-gnu-strip --host=arm-linux --target=arm-linux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-strip... aarch64-linux-gnu-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-gnu checking for arm-linux-gcc... aarch64-linux-gnu-gcc checking whether the C compiler works... no configure: error: in /tmp/Bhavya/LTP/ltp-full-20180515': configure: error: C compiler cannot create executables Seeconfig.log' for more details

pelwell commented 6 years ago

Have you read config.log?