1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local preconfigure fragment for sysdeps/loongarch
7 abi=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | sed -n 's/^#define __loongarch_\(lp64\|ilp32\).*/\1/p'`
8 float_abi=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | sed -n 's/^#define __loongarch_\(soft\|single\|double\)_float.*/\1/p'`
10 with_fp_cond="!defined __loongarch_soft_float"
17 as_fn_error 1 "glibc does not yet support the single floating-point ABI!!" "$LINENO" 5
23 as_fn_error 1 "Unable to determine floating-point ABI!!" "$LINENO" 5
29 as_fn_error 1 "loongarch does not yet support ilp32 ABI!!" "$LINENO" 5
33 machine=loongarch/lp64
36 as_fn_error 1 "Unable to determine GRLEN!!" "$LINENO" 5
40 printf "%s\n" "#define LOONGARCH_ABI_GRLEN $grlen" >>confdefs.h
42 printf "%s\n" "#define LOONGARCH_ABI_FRLEN $abi_flen" >>confdefs.h
45 base_machine=loongarch