Hi All.
I am having a trouble compiling HDF5 for AARH64-linux-elf target (build on x86_64). My compiler does not have libquadmath enabled and I am getting the following error:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane… yes
checking for x86_64-pc-linux-gnu-strip… no
checking for strip… strip
checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking whether make supports nested variables… (cached) yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-pc-linux-gnu
checking shell variables initial values… done
checking if basename works… yes
checking if xargs works… yes
checking for cached host… none
checking enable warnings as errors… no
checking for config x86_64-pc-linux-gnu… no
checking for config x86_64-pc-linux-gnu… no
checking for config pc-linux-gnu… no
checking for config pc-linux-gnu… no
checking for config x86_64-linux-gnu… no
checking for config x86_64-linux-gnu… no
checking for config x86_64-pc… no
checking for config linux-gnu… found
compiler ‘aarch64-linux-gcc’ is GNU gcc-12.2.0
compiler ‘aarch64-linux-gfortran’ is GNU gfortran-12.2.0
compiler ‘aarch64-linux-g++’ is GNU g+±12.2.0
checking for config …/config/site-specific/host-ben-VirtualBox… no
checking for clang sanitizer checks… checking build mode… production
checking for x86_64-pc-linux-gnu-gcc… aarch64-linux-gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… yes
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether aarch64-linux-gcc accepts -g… yes
checking for aarch64-linux-gcc option to accept ISO C89… none needed
checking whether aarch64-linux-gcc understands -c and -o together… yes
checking for style of include used by make… GNU
checking dependency style of aarch64-linux-gcc… gcc3
checking if unsupported combinations of configure options are allowed… no
checking how to run the C preprocessor… aarch64-linux-gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for off_t… yes
checking for ssize_t… yes
checking whether byte ordering is bigendian… no
checking size of char… 1
checking size of short… 2
checking size of int… 4
checking size of unsigned… 4
checking size of long… 8
checking size of long long… 8
checking size of float… 4
checking size of double… 8
checking size of long double… 16
checking size of __float128… 0
checking size of _Quad… 0
checking quadmath.h usability… no
checking quadmath.h presence… no
checking for quadmath.h… no
checking maximum decimal precision for C… configure: error: in `/home/ben/ann/hdf5/build-arch64’:
configure: error: cannot run test program while cross compiling
See `config.log’ for more details
Is there a way to compile hdf5 library without libquadmath?