projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mask off large constants for RV32
[riscv-tests.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index c32adb1b036fc04c9ff98d8580ef917da92a330e..ebfd649795a37a5c2098efee103cc817abeff602 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,7
+1,15
@@
AC_INIT(riscv-tests, 1.0)
cross_compiling=yes
AC_INIT(riscv-tests, 1.0)
cross_compiling=yes
-AC_PROG_CC([riscv64-unknown-elf-gcc])
+AC_PROG_CC
+
+AC_ARG_WITH(xlen,
+ [AS_HELP_STRING([--with-xlen=XLEN],
+ [Set XLEN, the X-register bit width (default is 64)])],
+ AC_SUBST(XLEN, $withval),
+ AC_SUBST(XLEN, 64)
+ )
+
AC_OUTPUT(
Makefile
AC_OUTPUT(
Makefile