Hi Wookey,
Thanks for your response. Here is the error I get when I do the "make check" step on the foundation model after having done the "configure" and "make" steps on the x86_64 linux build machine. I used the configure options you provided.
1. On x86_64 linux build machine:
---------------------------------------------------
$./configure --prefix=/usr --enable-cxx --enable-fat --build x86_64-linux-gnu --host aarch64-linux-gnu --.target aarch64-linux-gnu --libdir=/usr/lib/aarch64-linux-gnu \
AR=aarch64-linux-gnu-ar CC="aarch64-linux-gnu-gcc" CFLAGS="-Wall -g -O3 -Wa,--defsym,USES_THUMB=1" \
CXX="aarch64-linux-gnu-g++" CXXFLAGS=""
$make
. . .
build goes fine with the following final lines in the output:
. . .
f.o printf/snprntffuns.o printf/sprintf.o printf/sprintffuns.o printf/vasprintf.o printf/vfprintf.o printf/vprintf.o printf/vsnprintf.o printf/vsprintf.o printf/repl-vsnprintf.o scanf/doscan.o scanf/fscanf.o scanf/fscanffuns.o scanf/scanf.o scanf/sscanf.o scanf/sscanffuns.o scanf/vfscanf.o scanf/vscanf.o scanf/vsscanf.o rand/rand.o rand/randclr.o rand/randdef.o rand/randiset.o rand/randlc2s.o rand/randlc2x.o rand/randmt.o rand/randmts.o rand/rands.o rand/randsd.o rand/randsdui.o rand/randbui.o rand/randmui.o
libtool: link: aarch64-linux-gnu-ranlib .libs/libgmp.a
libtool: link: rm -fr .libs/libgmp.lax
libtool: link: ( cd ".libs" && rm -f "
libgmp.la" && ln -s "../
libgmp.la" "
libgmp.la" )
make[2]: Leaving directory `/home/anilss/Linaro/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64'
make[1]: Leaving directory `/home/anilss/Linaro/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64
$
--------------------------------------------------
2. On Foundation Model I encounter the following errors when doing "make check"
-------------------------------------------------
root@genericarmv8:~/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64# make check
make check-recursive
make[1]: Entering directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64'
Making check in tests
make[2]: Entering directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64/tests'
Making check in .
make[3]: Entering directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64/tests'
make
libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask t-modlinv t-popc t-parity t-sub
make[4]: Entering directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64/tests'
/bin/bash ../libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pedantic -fomit-frame-pointer -march=armv8-a -mtune=generic -c -o memory.lo memory.c
libtool: compile: aarch64-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pedantic -fomit-frame-pointer -march=armv8-a -mtune=generic -c memory.c -fPIC -DPIC -o .libs/memory.o
../libtool: line 1128: aarch64-linux-gnu-gcc: command not found
make[4]: *** [memory.lo] Error 1
make[4]: Leaving directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/root/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64'
make: *** [check] Error 2
root@genericarmv8:~/anilss/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64#
Thanks and Regards,
Anil