URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 512 to Rev 513
- ↔ Reverse comparison
Rev 512 → Rev 513
/trunk/or1ksim/configure
14,10 → 14,6
ac_help="$ac_help |
--enable-readline Use GNU readline" |
ac_help="$ac_help |
--enable-profiling generate profiling code" |
ac_help="$ac_help |
--disable-debugmod turns off debug module" |
ac_help="$ac_help |
--enable-impl=<arch> use <impl>-specific environment |
(one of: bender, mp3, default)" |
|
577,7 → 573,7
fi |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:581: checking host system type" >&5 |
echo "configure:577: checking host system type" >&5 |
|
host_alias=$host |
case "$host_alias" in |
598,7 → 594,7
echo "$ac_t""$host" 1>&6 |
|
echo $ac_n "checking target system type""... $ac_c" 1>&6 |
echo "configure:602: checking target system type" >&5 |
echo "configure:598: checking target system type" >&5 |
|
target_alias=$target |
case "$target_alias" in |
616,7 → 612,7
echo "$ac_t""$target" 1>&6 |
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
echo "configure:620: checking build system type" >&5 |
echo "configure:616: checking build system type" >&5 |
|
build_alias=$build |
case "$build_alias" in |
650,7 → 646,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:654: checking for a BSD compatible install" >&5 |
echo "configure:650: 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 |
703,7 → 699,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:707: checking whether build environment is sane" >&5 |
echo "configure:703: checking whether build environment is sane" >&5 |
# Just in case |
sleep 1 |
echo timestamp > conftestfile |
760,7 → 756,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:764: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:760: 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 |
806,7 → 802,7
|
missing_dir=`cd $ac_aux_dir && pwd` |
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
echo "configure:810: checking for working aclocal" >&5 |
echo "configure:806: 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. |
819,7 → 815,7
fi |
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
echo "configure:823: checking for working autoconf" >&5 |
echo "configure:819: 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. |
832,7 → 828,7
fi |
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
echo "configure:836: checking for working automake" >&5 |
echo "configure:832: 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. |
845,7 → 841,7
fi |
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
echo "configure:849: checking for working autoheader" >&5 |
echo "configure:845: 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. |
858,7 → 854,7
fi |
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
echo "configure:862: checking for working makeinfo" >&5 |
echo "configure:858: 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. |
886,7 → 882,7
fi |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:890: checking host system type" >&5 |
echo "configure:886: checking host system type" >&5 |
|
host_alias=$host |
case "$host_alias" in |
921,7 → 917,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:925: checking for $ac_word" >&5 |
echo "configure:921: 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 |
951,7 → 947,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:955: checking for $ac_word" >&5 |
echo "configure:951: 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 |
1002,7 → 998,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:1006: checking for $ac_word" >&5 |
echo "configure:1002: 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 |
1034,7 → 1030,7
fi |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo "configure:1038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:1034: 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. |
1045,12 → 1041,12
|
cat > conftest.$ac_ext << EOF |
|
#line 1049 "configure" |
#line 1045 "configure" |
#include "confdefs.h" |
|
main(){return(0);} |
EOF |
if { (eval echo configure:1054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1050: \"$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 |
1076,12 → 1072,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:1080: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:1076: 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:1085: checking whether we are using GNU C" >&5 |
echo "configure:1081: 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 |
1090,7 → 1086,7
yes; |
#endif |
EOF |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1094: \"$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:1090: \"$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 |
1109,7 → 1105,7
ac_save_CFLAGS="$CFLAGS" |
CFLAGS= |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo "configure:1113: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:1109: 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 |
1141,7 → 1137,7
fi |
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo "configure:1145: checking how to run the C preprocessor" >&5 |
echo "configure:1141: checking how to run the C preprocessor" >&5 |
# On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then |
CPP= |
1156,13 → 1152,13
# On the NeXT, cc -E runs the code through the compiler's parser, |
# not just through cpp. |
cat > conftest.$ac_ext <<EOF |
#line 1160 "configure" |
#line 1156 "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:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1162: \"$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 |
: |
1173,13 → 1169,13
rm -rf conftest* |
CPP="${CC-cc} -E -traditional-cpp" |
cat > conftest.$ac_ext <<EOF |
#line 1177 "configure" |
#line 1173 "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:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1179: \"$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 |
: |
1190,13 → 1186,13
rm -rf conftest* |
CPP="${CC-cc} -nologo -E" |
cat > conftest.$ac_ext <<EOF |
#line 1194 "configure" |
#line 1190 "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:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1196: \"$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 |
: |
1222,17 → 1218,17
|
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
echo "configure:1226: checking for minix/config.h" >&5 |
echo "configure:1222: 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 1231 "configure" |
#line 1227 "configure" |
#include "confdefs.h" |
#include <minix/config.h> |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1232: \"$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* |
1271,7 → 1267,7
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:1275: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:1271: 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 |
1303,13 → 1299,13
|
if test $ac_cv_prog_gcc = yes; then |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
echo "configure:1307: checking whether ${CC-cc} needs -traditional" >&5 |
echo "configure:1303: 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 1313 "configure" |
#line 1309 "configure" |
#include "confdefs.h" |
#include <sgtty.h> |
Autoconf TIOCGETP |
1327,7 → 1323,7
|
if test $ac_cv_prog_gcc_traditional = no; then |
cat > conftest.$ac_ext <<EOF |
#line 1331 "configure" |
#line 1327 "configure" |
#include "confdefs.h" |
#include <termio.h> |
Autoconf TCGETA |
1360,7 → 1356,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:1364: checking for a BSD compatible install" >&5 |
echo "configure:1360: 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 |
1415,7 → 1411,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:1419: checking for $ac_word" >&5 |
echo "configure:1415: 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 |
1445,7 → 1441,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:1449: checking for $ac_word" >&5 |
echo "configure:1445: 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 |
1478,12 → 1474,12
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo "configure:1482: checking return type of signal handlers" >&5 |
echo "configure:1478: 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 1487 "configure" |
#line 1483 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <signal.h> |
1500,7 → 1496,7
int i; |
; return 0; } |
EOF |
if { (eval echo configure:1504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
ac_cv_type_signal=void |
else |
1519,12 → 1515,12
|
|
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 |
echo "configure:1523: checking whether stat file-mode macros are broken" >&5 |
echo "configure:1519: 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 1528 "configure" |
#line 1524 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <sys/stat.h> |
1579,12 → 1575,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:1583: checking for $ac_hdr that defines DIR" >&5 |
echo "configure:1579: 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 1588 "configure" |
#line 1584 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <$ac_hdr> |
1592,7 → 1588,7
DIR *dirp = 0; |
; return 0; } |
EOF |
if { (eval echo configure:1596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
eval "ac_cv_header_dirent_$ac_safe=yes" |
else |
1617,7 → 1613,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:1621: checking for opendir in -ldir" >&5 |
echo "configure:1617: 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 |
1625,7 → 1621,7
ac_save_LIBS="$LIBS" |
LIBS="-ldir $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1629 "configure" |
#line 1625 "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 |
1636,7 → 1632,7
opendir() |
; return 0; } |
EOF |
if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1636: \"$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 |
1658,7 → 1654,7
|
else |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "configure:1662: checking for opendir in -lx" >&5 |
echo "configure:1658: 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 |
1666,7 → 1662,7
ac_save_LIBS="$LIBS" |
LIBS="-lx $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1670 "configure" |
#line 1666 "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 |
1677,7 → 1673,7
opendir() |
; return 0; } |
EOF |
if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1677: \"$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 |
1702,12 → 1698,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:1706: checking for $ac_func" >&5 |
echo "configure:1702: 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 1711 "configure" |
#line 1707 "configure" |
#include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ |
1730,7 → 1726,7
|
; return 0; } |
EOF |
if { (eval echo configure:1734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1730: \"$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 |
1755,7 → 1751,7
done |
|
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
echo "configure:1759: checking for working strcoll" >&5 |
echo "configure:1755: 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 |
1763,7 → 1759,7
ac_cv_func_strcoll_works=no |
else |
cat > conftest.$ac_ext <<EOF |
#line 1767 "configure" |
#line 1763 "configure" |
#include "confdefs.h" |
#include <string.h> |
main () |
1773,7 → 1769,7
strcoll ("123", "456") >= 0); |
} |
EOF |
if { (eval echo configure:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1773: \"$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 |
1802,17 → 1798,17
do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:1806: checking for $ac_hdr" >&5 |
echo "configure:1802: 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 1811 "configure" |
#line 1807 "configure" |
#include "confdefs.h" |
#include <$ac_hdr> |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1812: \"$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* |
1840,7 → 1836,7
|
|
cat > conftest.$ac_ext <<EOF |
#line 1844 "configure" |
#line 1840 "configure" |
#include "confdefs.h" |
|
int main() { |
1847,7 → 1843,7
long long ll; unsigned long long ull; |
; return 0; } |
EOF |
if { (eval echo configure:1851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
cat >> confdefs.h <<\EOF |
#define CC_HAS_LONG_LONG 1 |
1863,7 → 1859,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:1867: checking for add_history in -lreadline" >&5 |
echo "configure:1863: 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 |
1871,7 → 1867,7
ac_save_LIBS="$LIBS" |
LIBS="-lreadline $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1875 "configure" |
#line 1871 "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 |
1882,7 → 1878,7
add_history() |
; return 0; } |
EOF |
if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1882: \"$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 |
1929,37 → 1925,9
esac |
|
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6 |
echo "configure:1934: 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" ;; |
esac |
|
fi |
|
echo "$ac_t""${enable_profiling-no}" 1>&6 |
|
echo $ac_n "checking whether to disable CPU debugging module""... $ac_c" 1>&6 |
echo "configure:1948: checking whether to disable CPU debugging module" >&5 |
# Check whether --enable-debugmod or --disable-debugmod was given. |
if test "${enable_debugmod+set}" = set; then |
enableval="$enable_debugmod" |
|
case "$enableval" in |
no) debugmod="-DDEBUGMOD_OFF" ;; |
esac |
|
fi |
|
echo "$ac_t""${disable_debugmod-no}" 1>&6 |
|
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6 |
echo "configure:1963: checking for implementation-specific data" >&5 |
echo "configure:1931: 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" |
2016,10 → 1984,6
-I\${top_srcdir}/pm -I\${top_srcdir}/pic -I\${top_srcdir}/debug -I\${top_srcdir}/vapi" |
|
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile" |
test -n "$debugmod" && CFLAGS="$CFLAGS $debugmod" |
CFLAGS="$CFLAGS $IMPL" |
|
trap '' 1 2 15 |
cat > confcache <<\EOF |
# This file is a shell script that caches the results of configure |
/trunk/or1ksim/cpu/common/coff.h
148,6 → 148,97
#define COFF_ZMAGIC 0413 /* The proper magic number for executables */ |
#define COFF_SHMAGIC 0443 /* shared library header */ |
|
/********************** STORAGE CLASSES **********************/ |
|
/* This used to be defined as -1, but now n_sclass is unsigned. */ |
#define C_EFCN 0xff /* physical end of function */ |
#define C_NULL 0 |
#define C_AUTO 1 /* automatic variable */ |
#define C_EXT 2 /* external symbol */ |
#define C_STAT 3 /* static */ |
#define C_REG 4 /* register variable */ |
#define C_EXTDEF 5 /* external definition */ |
#define C_LABEL 6 /* label */ |
#define C_ULABEL 7 /* undefined label */ |
#define C_MOS 8 /* member of structure */ |
#define C_ARG 9 /* function argument */ |
#define C_STRTAG 10 /* structure tag */ |
#define C_MOU 11 /* member of union */ |
#define C_UNTAG 12 /* union tag */ |
#define C_TPDEF 13 /* type definition */ |
#define C_USTATIC 14 /* undefined static */ |
#define C_ENTAG 15 /* enumeration tag */ |
#define C_MOE 16 /* member of enumeration */ |
#define C_REGPARM 17 /* register parameter */ |
#define C_FIELD 18 /* bit field */ |
#define C_AUTOARG 19 /* auto argument */ |
#define C_LASTENT 20 /* dummy entry (end of block) */ |
#define C_BLOCK 100 /* ".bb" or ".eb" */ |
#define C_FCN 101 /* ".bf" or ".ef" */ |
#define C_EOS 102 /* end of structure */ |
#define C_FILE 103 /* file name */ |
#define C_LINE 104 /* line # reformatted as symbol table entry */ |
#define C_ALIAS 105 /* duplicate tag */ |
#define C_HIDDEN 106 /* ext symbol in dmert public lib */ |
|
#define C_WEAKEXT 127 /* weak symbol -- GNU extension */ |
|
/* New storage classes for TI COFF */ |
#define C_UEXT 19 /* Tentative external definition */ |
#define C_STATLAB 20 /* Static load time label */ |
#define C_EXTLAB 21 /* External load time label */ |
#define C_SYSTEM 23 /* System Wide variable */ |
|
/* New storage classes for WINDOWS_NT */ |
#define C_SECTION 104 /* section name */ |
#define C_NT_WEAK 105 /* weak external */ |
|
/* New storage classes for 80960 */ |
|
/* C_LEAFPROC is obsolete. Use C_LEAFEXT or C_LEAFSTAT */ |
#define C_LEAFPROC 108 /* Leaf procedure, "call" via BAL */ |
|
#define C_SCALL 107 /* Procedure reachable via system call */ |
#define C_LEAFEXT 108 /* External leaf */ |
#define C_LEAFSTAT 113 /* Static leaf */ |
#define C_OPTVAR 109 /* Optimized variable */ |
#define C_DEFINE 110 /* Preprocessor #define */ |
#define C_PRAGMA 111 /* Advice to compiler or linker */ |
#define C_SEGMENT 112 /* 80960 segment name */ |
|
/* Storage classes for m88k */ |
#define C_SHADOW 107 /* shadow symbol */ |
#define C_VERSION 108 /* coff version symbol */ |
|
/* New storage classes for RS/6000 */ |
#define C_HIDEXT 107 /* Un-named external symbol */ |
#define C_BINCL 108 /* Marks beginning of include file */ |
#define C_EINCL 109 /* Marks ending of include file */ |
|
/* storage classes for stab symbols for RS/6000 */ |
#define C_GSYM (0x80) |
#define C_LSYM (0x81) |
#define C_PSYM (0x82) |
#define C_RSYM (0x83) |
#define C_RPSYM (0x84) |
#define C_STSYM (0x85) |
#define C_TCSYM (0x86) |
#define C_BCOMM (0x87) |
#define C_ECOML (0x88) |
#define C_ECOMM (0x89) |
#define C_DECL (0x8c) |
#define C_ENTRY (0x8d) |
#define C_FUN (0x8e) |
#define C_BSTAT (0x8f) |
#define C_ESTAT (0x90) |
|
/* Storage classes for Thumb symbols */ |
#define C_THUMBEXT (128 + C_EXT) /* 130 */ |
#define C_THUMBSTAT (128 + C_STAT) /* 131 */ |
#define C_THUMBLABEL (128 + C_LABEL) /* 134 */ |
#define C_THUMBEXTFUNC (C_THUMBEXT + 20) /* 150 */ |
#define C_THUMBSTATFUNC (C_THUMBSTAT + 20) /* 151 */ |
|
/********************** SECTION HEADER **********************/ |
|
struct COFF_scnhdr { |
/trunk/or1ksim/cpu/common/parse.c
312,25 → 312,30
} |
|
n = (unsigned char)coffsymhdr.e_numaux[0]; |
|
/* check whether this symbol belongs to a section and is external symbol; ignore all others */ |
if (COFF_SHORT_H(coffsymhdr.e_scnum) >= 0 && coffsymhdr.e_sclass[0] == C_EXT) { |
#if 0 |
/* If not important or not in text, skip. */ |
if (COFF_SHORT_H(coffsymhdr.e_type) & COFF_N_TMASK & COFF_STYP_TEXT) { |
|
if(COFF_SHORT_H(coffsymhdr.e_type) & COFF_N_TMASK & COFF_STYP_TEXT) { |
#endif |
|
if (*((unsigned long *)coffsymhdr.e.e.e_zeroes)) { |
if (strlen(coffsymhdr.e.e_name) && strlen(coffsymhdr.e.e_name) < 9) |
add_label(COFF_LONG_H(coffsymhdr.e_value), coffsymhdr.e.e_name); |
debug(8, "[%i] Symbol: %s,", count++, coffsymhdr.e.e_name); |
if (strlen(coffsymhdr.e.e_name) && strlen(coffsymhdr.e.e_name) < 9) |
add_label(COFF_LONG_H(coffsymhdr.e_value), coffsymhdr.e.e_name); |
debug(8, "[%i] Symbol: %s,", count++, coffsymhdr.e.e_name); |
} else { |
long fpos = ftell (inputfs); |
long fpos = ftell (inputfs); |
|
if (fseek(inputfs, symptr + nsyms * COFF_SYMESZ + COFF_LONG_H(coffsymhdr.e.e.e_offset), SEEK_SET) == 0) { |
char tmp[33], *s = &tmp[0]; |
while (s != &tmp[32]) |
if ((*(s++) = fgetc(inputfs)) == 0) break; |
tmp[32] = 0; |
add_label(COFF_LONG_H(coffsymhdr.e_value), &tmp[0]); |
debug(8, "[%i] Symbol: %s,", count++, &tmp[0]); |
} |
fseek(inputfs, fpos, SEEK_SET); |
if (fseek(inputfs, symptr + nsyms * COFF_SYMESZ + COFF_LONG_H(coffsymhdr.e.e.e_offset), SEEK_SET) == 0) { |
char tmp[33], *s = &tmp[0]; |
while (s != &tmp[32]) |
if ((*(s++) = fgetc(inputfs)) == 0) break; |
tmp[32] = 0; |
add_label(COFF_LONG_H(coffsymhdr.e_value), &tmp[0]); |
debug(8, "[%i] Symbol: %s,", count++, &tmp[0]); |
} |
fseek(inputfs, fpos, SEEK_SET); |
} |
|
debug(9, " val: 0x%.8x,", COFF_LONG_H(coffsymhdr.e_value)); |
339,9 → 344,9
|
for (i = 0; i < n; i++) |
if (fread(&coffsymhdr, COFF_SYMESZ, 1, inputfs) != 1) { |
fclose(inputfs); |
perror("readsyms_coff3"); |
exit(1); |
fclose(inputfs); |
perror("readsyms_coff3"); |
exit(1); |
} |
syms -= n; |
count += n; |
/trunk/or1ksim/testbench/test3.o
File deleted
\ No newline at end of file
trunk/or1ksim/testbench/test3.o
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/or1ksim/configure.in
===================================================================
--- trunk/or1ksim/configure.in (revision 512)
+++ trunk/or1ksim/configure.in (revision 513)
@@ -84,26 +84,8 @@
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" ;;
- esac
-])
-AC_MSG_RESULT(${enable_profiling-no})
-
-AC_MSG_CHECKING(whether to disable CPU debugging module)
-AC_ARG_ENABLE(debugmod,
- [ --disable-debugmod turns off debug module], [
- case "$enableval" in
- no) debugmod="-DDEBUGMOD_OFF" ;;
- esac
-])
-AC_MSG_RESULT(${disable_debugmod-no})
-
-AC_SUBST(FPM)
AC_MSG_CHECKING(for implementation-specific data)
AC_ARG_ENABLE(impl,
[ --enable-impl= use -specific environment
@@ -153,10 +135,6 @@
-I\${top_srcdir}/pm -I\${top_srcdir}/pic -I\${top_srcdir}/debug -I\${top_srcdir}/vapi"
AC_SUBST(INCLUDES)
-test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
-test -n "$debugmod" && CFLAGS="$CFLAGS $debugmod"
-CFLAGS="$CFLAGS $IMPL"
-
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
cpu/common/Makefile cpu/or32/Makefile
cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile