Check-in [a57b500ccd]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update for newer Android toolchain
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a57b500ccd515d6e99fd01db1fdc50f8002ffc84
User & Date: bernd 2020-06-11 17:46:36
Context
2020-06-18
11:22
Avoid failing when ipv6/pp doesn't work, e.g. on WSL 1 check-in: d4669e7bab user: bernd tags: trunk
2020-06-11
17:46
Update for newer Android toolchain check-in: a57b500ccd user: bernd tags: trunk
13:59
Fix configure problems check-in: 50bee4e4c5 user: bernd tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to keccakp/configure.ac.

37
38
39
40
41
42
43

44
45
46
47
48
49
50
51
52
53
54
55

56
57
58
59
60
61
62
..
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#	plattform=armv8a-neon
#	CFLAGS=""
#	CCASFLAGS=""
#	;;
     arm*-*linux*)
	flags="$CFLAGS"
	asmflags="$CFLAGS"

	fastasmflags="-O3 -mfpu=neon $nomflags"
	fastflags="-O3 -mfpu=neon $nomflags"
	as="inplace-armgcc-ARMv7A-NEON"
	enable_asm=yes
	enable_fast=yes
	plattform=neon
	CFLAGS=""
	CCASFLAGS=""
	;;
     arm*)
	asmflags="-O3 -mfpu=neon $nomflags"
	flags="-O3 -mfpu=neon $nomflags"

	as="inplace-armgcc-ARMv7A-NEON"
	enable_asm=yes
	plattform=neon
	CFLAGS=""
	CCASFLAGS=""
	;;
    i686-*linux*|i686-*cygwin*)
................................................................................
#./configure --enable-asm as="inplace-armgcc-ARMv7A-NEON" plattform=neon CC="arm-linux-androideabi-gcc -mfpu=neon-vfpv4" --host=arm-linux-androideabi

PRECC=${CC%gcc*}
PRECLANG=${PRECC%clang*}
dnl MacOS X has a libtool that does something else
AC_CHECK_PROGS(GNU_LIBTOOL,"glibtool --tag=CC" libtool)

LIBTOOL=${PRECLANG}${LIBTOOL}
echo "Libtool: $PRECC, $PRECLANG, $LIBTOOL"

AC_SUBST(nomflags)
AC_SUBST(fastflags)
AC_SUBST(fastasmflags)
AC_SUBST(flags)
AC_SUBST(asmflags)
AC_SUBST(ws)
AC_SUBST(as)
AC_SUBST(plattform)
AC_SUBST(LIBTOOL)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT







>
|
|








|
|
>







 







|













37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
...
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#	plattform=armv8a-neon
#	CFLAGS=""
#	CCASFLAGS=""
#	;;
     arm*-*linux*)
	flags="$CFLAGS"
	asmflags="$CFLAGS"
	fastflags=`echo $nomflags | sed -e 's/-march=[[^ ]]*//g' -e 's/-mfpu=[[^ ]]*//g'`
	fastasmflags="-O3 -march=armv7-a -mfpu=neon $fastflags"
	fastflags="-O3 -march=armv7-a -mfpu=neon $fastflags"
	as="inplace-armgcc-ARMv7A-NEON"
	enable_asm=yes
	enable_fast=yes
	plattform=neon
	CFLAGS=""
	CCASFLAGS=""
	;;
     arm*)
	fastflags=`echo $nomflags | sed -e 's/-march=[^ ]*//g' -e 's/-mfpu=[[^ ]]*//g'`
	asmflags="-O3 -march=armv7-a -mfpu=neon $fastflags"
	flags="-O3 -march=armv7-a -mfpu=neon $fastflags"
	as="inplace-armgcc-ARMv7A-NEON"
	enable_asm=yes
	plattform=neon
	CFLAGS=""
	CCASFLAGS=""
	;;
    i686-*linux*|i686-*cygwin*)
................................................................................
#./configure --enable-asm as="inplace-armgcc-ARMv7A-NEON" plattform=neon CC="arm-linux-androideabi-gcc -mfpu=neon-vfpv4" --host=arm-linux-androideabi

PRECC=${CC%gcc*}
PRECLANG=${PRECC%clang*}
dnl MacOS X has a libtool that does something else
AC_CHECK_PROGS(GNU_LIBTOOL,"glibtool --tag=CC" libtool)

#LIBTOOL=${PRECLANG}${LIBTOOL}
echo "Libtool: $PRECC, $PRECLANG, $LIBTOOL"

AC_SUBST(nomflags)
AC_SUBST(fastflags)
AC_SUBST(fastasmflags)
AC_SUBST(flags)
AC_SUBST(asmflags)
AC_SUBST(ws)
AC_SUBST(as)
AC_SUBST(plattform)
AC_SUBST(LIBTOOL)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

Changes to threefish/configure.ac.

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
AM_CONDITIONAL([FAST], [test x$fast = xtrue])

PRECC=${CC%gcc*}
PRECLANG=${PRECC%clang*}
dnl MacOS X has a libtool that does something else
AC_CHECK_PROGS(GNU_LIBTOOL,"glibtool --tag=CC" libtool)

LIBTOOL=${PRECLANG}${LIBTOOL}
echo "Libtool: $PRECC, $PRECLANG, $LIBTOOL"

AC_SUBST(fastflags)
AC_SUBST(flags)
AC_SUBST(LIBTOOL)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT







|







58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
AM_CONDITIONAL([FAST], [test x$fast = xtrue])

PRECC=${CC%gcc*}
PRECLANG=${PRECC%clang*}
dnl MacOS X has a libtool that does something else
AC_CHECK_PROGS(GNU_LIBTOOL,"glibtool --tag=CC" libtool)

#LIBTOOL=${PRECLANG}${LIBTOOL}
echo "Libtool: $PRECC, $PRECLANG, $LIBTOOL"

AC_SUBST(fastflags)
AC_SUBST(flags)
AC_SUBST(LIBTOOL)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT