URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 516 to Rev 517
- ↔ Reverse comparison
Rev 516 → Rev 517
/trunk/or1ksim/configure
14,6 → 14,8
ac_help="$ac_help |
--enable-readline Use GNU readline" |
ac_help="$ac_help |
--enable-profiling generate profiling code" |
ac_help="$ac_help |
--enable-impl=<arch> use <impl>-specific environment |
(one of: bender, mp3, default)" |
|
573,7 → 575,7
fi |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:577: checking host system type" >&5 |
echo "configure:579: checking host system type" >&5 |
|
host_alias=$host |
case "$host_alias" in |
594,7 → 596,7
echo "$ac_t""$host" 1>&6 |
|
echo $ac_n "checking target system type""... $ac_c" 1>&6 |
echo "configure:598: checking target system type" >&5 |
echo "configure:600: checking target system type" >&5 |
|
target_alias=$target |
case "$target_alias" in |
612,7 → 614,7
echo "$ac_t""$target" 1>&6 |
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
echo "configure:616: checking build system type" >&5 |
echo "configure:618: checking build system type" >&5 |
|
build_alias=$build |
case "$build_alias" in |
646,7 → 648,7
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "configure:650: checking for a BSD compatible install" >&5 |
echo "configure:652: checking for a BSD compatible install" >&5 |
if test -z "$INSTALL"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
699,7 → 701,7
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
echo "configure:703: checking whether build environment is sane" >&5 |
echo "configure:705: checking whether build environment is sane" >&5 |
# Just in case |
sleep 1 |
echo timestamp > conftestfile |
756,7 → 758,7
test "$program_transform_name" = "" && program_transform_name="s,x,x," |
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:760: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:762: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
802,7 → 804,7
|
missing_dir=`cd $ac_aux_dir && pwd` |
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
echo "configure:806: checking for working aclocal" >&5 |
echo "configure:808: checking for working aclocal" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
815,7 → 817,7
fi |
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
echo "configure:819: checking for working autoconf" >&5 |
echo "configure:821: checking for working autoconf" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
828,7 → 830,7
fi |
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
echo "configure:832: checking for working automake" >&5 |
echo "configure:834: checking for working automake" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
841,7 → 843,7
fi |
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
echo "configure:845: checking for working autoheader" >&5 |
echo "configure:847: checking for working autoheader" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
854,7 → 856,7
fi |
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
echo "configure:858: checking for working makeinfo" >&5 |
echo "configure:860: checking for working makeinfo" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
882,7 → 884,7
fi |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:886: checking host system type" >&5 |
echo "configure:888: checking host system type" >&5 |
|
host_alias=$host |
case "$host_alias" in |
917,7 → 919,7
# Extract the first word of "gcc", so it can be a program name with args. |
set dummy gcc; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:921: checking for $ac_word" >&5 |
echo "configure:923: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
947,7 → 949,7
# Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:951: checking for $ac_word" >&5 |
echo "configure:953: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
998,7 → 1000,7
# Extract the first word of "cl", so it can be a program name with args. |
set dummy cl; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1002: checking for $ac_word" >&5 |
echo "configure:1004: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1030,7 → 1032,7
fi |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo "configure:1034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:1036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
ac_ext=c |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1041,12 → 1043,12
|
cat > conftest.$ac_ext << EOF |
|
#line 1045 "configure" |
#line 1047 "configure" |
#include "confdefs.h" |
|
main(){return(0);} |
EOF |
if { (eval echo configure:1050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
ac_cv_prog_cc_works=yes |
# If we can't run a trivial program, we are probably using a cross compiler. |
if (./conftest; exit) 2>/dev/null; then |
1072,12 → 1074,12
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
fi |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo "configure:1076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:1078: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
cross_compiling=$ac_cv_prog_cc_cross |
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo "configure:1081: checking whether we are using GNU C" >&5 |
echo "configure:1083: checking whether we are using GNU C" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1086,7 → 1088,7
yes; |
#endif |
EOF |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
ac_cv_prog_gcc=yes |
else |
ac_cv_prog_gcc=no |
1105,7 → 1107,7
ac_save_CFLAGS="$CFLAGS" |
CFLAGS= |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo "configure:1109: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:1111: checking whether ${CC-cc} accepts -g" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1137,7 → 1139,7
fi |
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo "configure:1141: checking how to run the C preprocessor" >&5 |
echo "configure:1143: checking how to run the C preprocessor" >&5 |
# On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then |
CPP= |
1152,13 → 1154,13
# On the NeXT, cc -E runs the code through the compiler's parser, |
# not just through cpp. |
cat > conftest.$ac_ext <<EOF |
#line 1156 "configure" |
#line 1158 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax Error |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
: |
1169,13 → 1171,13
rm -rf conftest* |
CPP="${CC-cc} -E -traditional-cpp" |
cat > conftest.$ac_ext <<EOF |
#line 1173 "configure" |
#line 1175 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax Error |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
: |
1186,13 → 1188,13
rm -rf conftest* |
CPP="${CC-cc} -nologo -E" |
cat > conftest.$ac_ext <<EOF |
#line 1190 "configure" |
#line 1192 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax Error |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
: |
1218,17 → 1220,17
|
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
echo "configure:1222: checking for minix/config.h" >&5 |
echo "configure:1224: checking for minix/config.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1227 "configure" |
#line 1229 "configure" |
#include "confdefs.h" |
#include <minix/config.h> |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
rm -rf conftest* |
1267,7 → 1269,7
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:1271: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:1273: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1299,13 → 1301,13
|
if test $ac_cv_prog_gcc = yes; then |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
echo "configure:1303: checking whether ${CC-cc} needs -traditional" >&5 |
echo "configure:1305: checking whether ${CC-cc} needs -traditional" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
ac_pattern="Autoconf.*'x'" |
cat > conftest.$ac_ext <<EOF |
#line 1309 "configure" |
#line 1311 "configure" |
#include "confdefs.h" |
#include <sgtty.h> |
Autoconf TIOCGETP |
1323,7 → 1325,7
|
if test $ac_cv_prog_gcc_traditional = no; then |
cat > conftest.$ac_ext <<EOF |
#line 1327 "configure" |
#line 1329 "configure" |
#include "confdefs.h" |
#include <termio.h> |
Autoconf TCGETA |
1356,7 → 1358,7
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "configure:1360: checking for a BSD compatible install" >&5 |
echo "configure:1362: checking for a BSD compatible install" >&5 |
if test -z "$INSTALL"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1411,7 → 1413,7
# Extract the first word of "ar", so it can be a program name with args. |
set dummy ar; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1415: checking for $ac_word" >&5 |
echo "configure:1417: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1441,7 → 1443,7
# Extract the first word of "ranlib", so it can be a program name with args. |
set dummy ranlib; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1445: checking for $ac_word" >&5 |
echo "configure:1447: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1474,12 → 1476,12
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo "configure:1478: checking return type of signal handlers" >&5 |
echo "configure:1480: checking return type of signal handlers" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1483 "configure" |
#line 1485 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <signal.h> |
1496,7 → 1498,7
int i; |
; return 0; } |
EOF |
if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
ac_cv_type_signal=void |
else |
1515,12 → 1517,12
|
|
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 |
echo "configure:1519: checking whether stat file-mode macros are broken" >&5 |
echo "configure:1521: checking whether stat file-mode macros are broken" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1524 "configure" |
#line 1526 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <sys/stat.h> |
1575,12 → 1577,12
do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
echo "configure:1579: checking for $ac_hdr that defines DIR" >&5 |
echo "configure:1581: checking for $ac_hdr that defines DIR" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1584 "configure" |
#line 1586 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <$ac_hdr> |
1588,7 → 1590,7
DIR *dirp = 0; |
; return 0; } |
EOF |
if { (eval echo configure:1592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
eval "ac_cv_header_dirent_$ac_safe=yes" |
else |
1613,7 → 1615,7
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
if test $ac_header_dirent = dirent.h; then |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
echo "configure:1617: checking for opendir in -ldir" >&5 |
echo "configure:1619: checking for opendir in -ldir" >&5 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1621,7 → 1623,7
ac_save_LIBS="$LIBS" |
LIBS="-ldir $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1625 "configure" |
#line 1627 "configure" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
1632,7 → 1634,7
opendir() |
; return 0; } |
EOF |
if { (eval echo configure:1636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
1654,7 → 1656,7
|
else |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "configure:1658: checking for opendir in -lx" >&5 |
echo "configure:1660: checking for opendir in -lx" >&5 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1662,7 → 1664,7
ac_save_LIBS="$LIBS" |
LIBS="-lx $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1666 "configure" |
#line 1668 "configure" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
1673,7 → 1675,7
opendir() |
; return 0; } |
EOF |
if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
1698,12 → 1700,12
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat |
do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo "configure:1702: checking for $ac_func" >&5 |
echo "configure:1704: checking for $ac_func" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1707 "configure" |
#line 1709 "configure" |
#include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ |
1726,7 → 1728,7
|
; return 0; } |
EOF |
if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_func_$ac_func=yes" |
else |
1751,7 → 1753,7
done |
|
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
echo "configure:1755: checking for working strcoll" >&5 |
echo "configure:1757: checking for working strcoll" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1759,7 → 1761,7
ac_cv_func_strcoll_works=no |
else |
cat > conftest.$ac_ext <<EOF |
#line 1763 "configure" |
#line 1765 "configure" |
#include "confdefs.h" |
#include <string.h> |
main () |
1769,7 → 1771,7
strcoll ("123", "456") >= 0); |
} |
EOF |
if { (eval echo configure:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
ac_cv_func_strcoll_works=yes |
else |
1798,17 → 1800,17
do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:1802: checking for $ac_hdr" >&5 |
echo "configure:1804: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1807 "configure" |
#line 1809 "configure" |
#include "confdefs.h" |
#include <$ac_hdr> |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
rm -rf conftest* |
1836,7 → 1838,7
|
|
cat > conftest.$ac_ext <<EOF |
#line 1840 "configure" |
#line 1842 "configure" |
#include "confdefs.h" |
|
int main() { |
1843,7 → 1845,7
long long ll; unsigned long long ull; |
; return 0; } |
EOF |
if { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
cat >> confdefs.h <<\EOF |
#define CC_HAS_LONG_LONG 1 |
1859,7 → 1861,7
if test "${enable_readline+set}" = set; then |
enableval="$enable_readline" |
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6 |
echo "configure:1863: checking for add_history in -lreadline" >&5 |
echo "configure:1865: checking for add_history in -lreadline" >&5 |
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1867,7 → 1869,7
ac_save_LIBS="$LIBS" |
LIBS="-lreadline $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1871 "configure" |
#line 1873 "configure" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
1878,7 → 1880,7
add_history() |
; return 0; } |
EOF |
if { (eval echo configure:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
1925,9 → 1927,22
esac |
|
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6 |
echo "configure:1932: checking whether to enable profiling" >&5 |
# Check whether --enable-profiling or --disable-profiling was given. |
if test "${enable_profiling+set}" = set; then |
enableval="$enable_profiling" |
|
case "$enableval" in |
yes) profile="-pg -a" ;; |
esac |
|
fi |
|
echo "$ac_t""${enable_profiling-no}" 1>&6 |
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6 |
echo "configure:1931: checking for implementation-specific data" >&5 |
echo "configure:1946: checking for implementation-specific data" >&5 |
# Check whether --enable-impl or --disable-impl was given. |
if test "${enable_impl+set}" = set; then |
enableval="$enable_impl" |
1949,7 → 1964,10
then |
echo "configure: warning: using default environment" 1>&2 |
fi |
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile" |
IMPL="-DIMPL_$IMPL" |
CFLAGS="$CFLAGS -O4" |
|
BUILD_DIR=`pwd` |
|
2153,7 → 2171,6
s%@AR@%$AR%g |
s%@RANLIB@%$RANLIB%g |
s%@MAKE_SHELL@%$MAKE_SHELL%g |
s%@FPM@%$FPM%g |
s%@BUILD_DIR@%$BUILD_DIR%g |
s%@LOCAL_CFLAGS@%$LOCAL_CFLAGS%g |
s%@LOCAL_LDFLAGS@%$LOCAL_LDFLAGS%g |
/trunk/or1ksim/Makefile.in
75,7 → 75,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/debug/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/cpu/Makefile.in
73,7 → 73,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/cpu/or32/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/cpu/common/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/cpu/or1k/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/cpu/or1k/sprs.c
121,6 → 121,7
printf("WARNING: write out of SPR range %08X\n", regno); |
} |
|
#if 0 |
/* Get a specific SPR. */ |
inline sprword |
mfspr_(const int regno) |
130,27 → 131,25
extern unsigned long pcprev; |
|
switch (regno) { |
case SPR_SR: |
/* Exceptions are always enabled */ |
return sprs[regno] | SPR_SR_EXR; |
case SPR_NPC: |
return pc; |
case SPR_PPC: |
return pcprev; |
case SPR_SR: |
/* Exceptions are always enabled */ |
return sprs[regno] | SPR_SR_EXR; |
|
|
default: |
/* Links to GPRS */ |
if(regno >= 0x0400 && regno < 0x0420) |
return reg[regno - 0x0400]; |
else if (regno < MAX_SPRS) |
return sprs[regno]; |
} |
if (regno < MAX_SPRS) |
return sprs[regno]; |
|
if (config.sim.verbose) |
printf ("WARNING: read out of SPR range %08X\n", regno); |
return 0; |
} |
#endif |
|
/* Set a specific bit from SPR. LSB in a word is numbered zero. */ |
inline void |
/trunk/or1ksim/cpu/or1k/sprs.h
39,3 → 39,35
inline void setsprbit(const int regno, const int bitnum, const unsigned long bitvalue); |
inline int getsprbit(const int regno, const int bitnum); |
void sprs_status(); |
|
#include "sim-config.h" |
|
/* Ugly, but fast */ |
/* Get a specific SPR. */ |
static inline sprword |
mfspr_(const int regno) |
{ |
extern unsigned long reg[32]; |
extern unsigned long pc; |
extern unsigned long pcprev; |
extern sprword sprs[MAX_SPRS]; |
|
switch (regno) { |
case SPR_SR: |
/* Exceptions are always enabled */ |
return sprs[regno] | SPR_SR_EXR; |
case SPR_NPC: |
return pc; |
case SPR_PPC: |
return pcprev; |
default: |
/* Links to GPRS */ |
if(regno >= 0x0400 && regno < 0x0420) |
return reg[regno - 0x0400]; |
else if (regno < MAX_SPRS) |
return sprs[regno]; |
} |
if (config.sim.verbose) |
printf ("WARNING: read out of SPR range %08X\n", regno); |
return 0; |
} |
/trunk/or1ksim/tick/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/cache/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/pic/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/pm/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/testbench/dhry.c
17,7 → 17,7
#include "support.h" |
#include "dhry.h" |
|
#define NUM_RUNS (20) |
#define NUM_RUNS (2000) |
#define DLX_FREQ 200 /* in MHz */ |
#define PROC_6 0 |
|
/trunk/or1ksim/configure.in
84,8 → 84,16
esac |
|
dnl define options |
AC_SUBST(FPM) |
|
AC_MSG_CHECKING(whether to enable profiling) |
AC_ARG_ENABLE(profiling, |
[ --enable-profiling generate profiling code], [ |
case "$enableval" in |
yes) profile="-pg -a" ;; |
esac |
]) |
AC_MSG_RESULT(${enable_profiling-no}) |
|
AC_MSG_CHECKING(for implementation-specific data) |
AC_ARG_ENABLE(impl, |
[ --enable-impl=<arch> use <impl>-specific environment |
105,7 → 113,10
then |
AC_MSG_WARN([using default environment]) |
fi |
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile" |
IMPL="-DIMPL_$IMPL" |
CFLAGS="$CFLAGS -O4" |
|
BUILD_DIR=`pwd` |
AC_SUBST(BUILD_DIR) |
/trunk/or1ksim/peripheral/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/mmu/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/vapi/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/bpb/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |
/trunk/or1ksim/support/Makefile.in
89,7 → 89,6
CC = @CC@ |
CFLAGS = @CFLAGS@ |
CPU_ARCH = @CPU_ARCH@ |
FPM = @FPM@ |
INCLUDES = @INCLUDES@ |
LOCAL_CFLAGS = @LOCAL_CFLAGS@ |
LOCAL_DEFS = @LOCAL_DEFS@ |