hns - 日記自動生成システム - Version 2.19.9

先月 2004年04月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
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
tamago/configure.in:AC_SUBST(lispdir)

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
tc-2.3.1/configure.in:lispdir=${lispdir}/tc
tc-2.3.1/configure.in:AC_ARG_WITH(lispdir, dnl
tc-2.3.1/configure.in: --with-lispdir=DIR Emacs Lisp files in DIR,
tc-2.3.1/configure.in:lispdir=${withval})
tc-2.3.1/configure.in:dnl AC_ARG_ENABLE(site-install, --enable-site-install Perform a sitewide installation, [ DOTEMACS='$(prefix)/share/emacs/site-lisp/default.el' ], [ DOTEMACS=`( cd ; pwd)`/.emacs ])
tc-2.3.1/configure.in:dnl AC_PATH_LISPDIR
tc-2.3.1/configure.in: lisp/Makefile
tc-2.3.1/configure.in: lisp/tc-pre-base
tc-2.3.1/configure.in:AC_MSG_RESULT("Lisp files will be installed into: ${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/d/usr/lib/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow'

:

/export/nandra-20040403/checkout/src/dist/am-utils/conf/mtab/mtab_bsd.c: In function `mnt_dup':
/export/nandra-20040403/checkout/src/dist/am-utils/conf/mtab/mtab_bsd.c:74: error: case label does not reduce to an integer constant

#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'
../opcodes/.libs/libopcodes.a(disassemble.o)(.text+0x42): binutils-2.14/opcodes/./disassemble.c:286: undefined reference to `print_insn_little_powerpc'
../opcodes/.libs/libopcodes.a(disassemble.o)(.text+0x5a): binutils-2.14/opcodes/./disassemble.c:292: undefined reference to `print_insn_big_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
出来た。



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)