|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2004年04月22日(木) 旧暦 [n年日記]#1 [Emacs] configure.in の比較
$ wc {tamago,emacs-w3m-1.3.6,tc*}/configure.in
27 71 624 tamago/configure.in
13 26 345 emacs-w3m-1.3.6/configure.in
97 283 2828 tc-2.3.1/configure.in
( つっこみ )
#2 $ grep -i lisp {tamago,emacs-w3m-1.3.6,tc*}/configure.in@ tamago:tamago/configure.in:lispdir=${datadir}/emacs/site-lisp @ emacs-w3m:emacs-w3m-1.3.6/configure.in:AC_PATH_LISPDIR @ tc-2.3.1:tc-2.3.1/configure.in:AM_PATH_LISPDIR @ emacs-w3m-1.3.6/aclocal.m4:
AC_DEFUN(AC_PATH_EMACS,
[dnl Check for Emacsen.
dnl Apparently, if you run a shell window in Emacs, it sets the EMACS
dnl environment variable to 't'. Lets undo the damage.
test x${EMACS} = xt && EMACS=
dnl Ignore cache.
unset ac_cv_prog_EMACS; unset EMACS_cv_SYS_flavor;
AC_ARG_WITH(emacs,
[ --with-emacs=EMACS compile with EMACS [EMACS=emacs, xemacs, mule...]],
[if test "${withval}" = yes -o -z "${withval}"; then
AC_PATH_PROGS(EMACS, emacs xemacs mule, emacs)
else
AC_PATH_PROG(EMACS, ${withval}, ${withval}, emacs)
fi])
AC_ARG_WITH(xemacs,
[ --with-xemacs=XEMACS compile with XEMACS [XEMACS=xemacs]],
[if test x$withval = xyes -o x$withval = x; then
AC_PATH_PROG(EMACS, xemacs, xemacs, xemacs)
else
AC_PATH_PROG(EMACS, $withval, $withval, xemacs)
fi])
test -z "${EMACS}" && AC_PATH_PROGS(EMACS, emacs xemacs mule, emacs)
AC_SUBST(EMACS)
AC_MSG_CHECKING([what a flavor does ${EMACS} have])
AC_EMACS_LISP(flavor,
(cond ((featurep (quote xemacs)) \"XEmacs\")\
((and (boundp (quote emacs-major-version))\
(>= emacs-major-version 21))\
\"FSF Emacs 21\")\
((boundp (quote MULE)) \"MULE\")\
(t \"FSF Emacs\")),
noecho)
case "${flavor}" in
XEmacs)
EMACS_FLAVOR=xemacs;;
MULE)
EMACS_FLAVOR=mule;;
"FSF Emacs 21")
EMACS_FLAVOR=emacs21;;
*)
EMACS_FLAVOR=emacs;;
esac
AC_MSG_RESULT(${flavor})])
@ liece-1.4.10/acinclude.m4:
AC_DEFUN(AC_CHECK_EMACS,
[dnl Check for Emacsen.
dnl Apparently, if you run a shell window in Emacs, it sets the EMACS
dnl environment variable to 't'. Lets undo the damage.
test "$EMACS" = t && EMACS=
dnl Ignore cache.
unset ac_cv_prog_EMACS; unset ac_cv_prog_XEMACS;
AC_ARG_WITH(emacs,
[ --with-emacs=EMACS compile with EMACS [EMACS=emacs, mule...]],
[if test "$withval" = yes -o -z "$withval"; then
AC_CHECK_PROGS(EMACS, emacs xemacs mule, emacs)
else
AC_CHECK_PROG(EMACS, $withval, $withval, emacs)
fi])
AC_ARG_WITH(xemacs,
[ --with-xemacs=XEMACS compile with XEMACS [XEMACS=xemacs]],
[if test "$withval" = yes -o -z "$withval"; then
AC_CHECK_PROG(XEMACS, xemacs, xemacs, xemacs)
else
AC_CHECK_PROG(XEMACS, $withval, $withval, xemacs)
fi
EMACS=$XEMACS],
[XEMACS=xemacs
test -z "$EMACS" && AC_CHECK_PROGS(EMACS, emacs xemacs mule, emacs)])
AC_SUBST(EMACS)
AC_SUBST(XEMACS)])
( つっこみ )
#3 [NetBSD][build.sh] 20040403/export/nandra-20040403/checkout/d/usr/lib/libstdc++.so: undefined reference to `_Unwind_GetIP' @ :/export/nandra-20040403/checkout/src/dist/am-utils/conf/mtab/mtab_bsd.c: In function `mnt_dup': ( つっこみ )
#4 cross assembler の作り方
例えば、
Fedora Core 1 で NetBSD-powerpc 用を作って見る
735 tar zxf ../binutils-2.14.tar.gz 736 cd binutils-2.14/ 739 ./configure --target=powerpc--netbsd 740 makeこれで、NetBSD/macppc の /bin/ls を objdump して見る 767 binutils/objdump -d /tmp/ls |less @ 何故か逆は問題があって作れない:
./configure --target=i386-redhat-linux
make binutils-2.14/opcodes/./disassemble.c:286: undefined reference to `print_insn_little_powerpc' 118 16:36 make clean 119 16:36 ./configure --target=i386--freebsd 120 16:36 makeこれは出来た。 @ make clean していなかったせい ?:128 16:43 make clean && ./configure --target=i386--linux 129 16:43 make 130 16:48 binutils/objdump -d /tmp/ls | less出来た。 ( つっこみ )
|
最近の日記 2025年12月25日 ・pbulk 11.99.3 (emacs30) 2025年11月22日 ・crash dump 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? 2025年10月13日 ・missing package | ||