@kyanny's blog

流行はつねに前進していく。そして、精神の偽りの自由が絶えずせり上がっていく - ロマン・ロラン

kayac bm11 版 Cocoa Emacs を使ってみた (Intel 32bit が落ちる)

Snow Leopard だと MacPorts の emacs-app はパッチを二つばかり当てないとビルドできないし、起動もすごく遅いので、 ns-toggle-fullscreen つきの kayac bm11 版を使ってみた。 面白ラボBM11(ブッコミイレブン) 2009: カヤック特製 Emacs これ。ビルド済みのバイナリをダウンロードしてます。

Snow Leopard では Intel 64bit を。問題無く使える。起動は心持ちこちらのほうがはやい気がするけど、やっぱりちょっと遅い。 Snow Leopard だとそういうものなのかな。

ns-toggle-fullscreen は思っていた以上に良い!ベネ! typester++ これで俺も今日から噂の IMAKADO スタイルだ。

フォントの設定が、なぜか MacPorts 版とずいぶん違っていた。俺は目が悪いので、フォント大きめでアンチエイリアスが効いてるのが好み。せっかくなので、まともに設定してなかったフォントまわりを見直そう。

Leopard のほうで Intel 32bit のバイナリをダウンロードしてみたら、起動できなかった。はてブをみるとソースからビルドして使ってるひとがいるので、俺もそうしようと思う。

なんで起動しないのかちょっと気になったので gdb でスタックトレースっていうの?みてみた。 gdb とかさっぱりわかってません。

warning がいっぱいでてたので超長いです。 dyld: unknown required load command 0x80000022 ってので落ちてるみたい。ぐぐると Cocoa アプリでよくでる?エラーなのかな。

GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Sat Jul 26 08:14:40 UTC 2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...unable to read unknown load command 0x80000022
Reading symbols for shared libraries ......... done
unable to read unknown load command 0x80000022

warning: Could not find object file "/Users/typester/dev/emacs/src/pre-crt0.o" - no debug information available for "pre-crt0.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/dispnew.o" - no debug information available for "dispnew.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/frame.o" - no debug information available for "frame.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/scroll.o" - no debug information available for "scroll.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/xdisp.o" - no debug information available for "xdisp.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/menu.o" - no debug information available for "menu.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/window.o" - no debug information available for "window.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/charset.o" - no debug information available for "charset.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/coding.o" - no debug information available for "coding.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/category.o" - no debug information available for "category.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/ccl.o" - no debug information available for "ccl.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/character.o" - no debug information available for "character.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/chartab.o" - no debug information available for "chartab.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/cm.o" - no debug information available for "cm.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/term.o" - no debug information available for "term.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/terminal.o" - no debug information available for "terminal.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/xfaces.o" - no debug information available for "xfaces.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/emacs.o" - no debug information available for "emacs.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/keyboard.o" - no debug information available for "keyboard.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/macros.o" - no debug information available for "macros.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/keymap.o" - no debug information available for "keymap.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/sysdep.o" - no debug information available for "sysdep.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/buffer.o" - no debug information available for "buffer.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/filelock.o" - no debug information available for "filelock.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/insdel.o" - no debug information available for "insdel.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/marker.o" - no debug information available for "marker.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/minibuf.o" - no debug information available for "minibuf.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/fileio.o" - no debug information available for "fileio.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/dired.o" - no debug information available for "dired.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/filemode.o" - no debug information available for "filemode.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/cmds.o" - no debug information available for "cmds.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/casetab.o" - no debug information available for "casetab.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/casefiddle.o" - no debug information available for "casefiddle.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/indent.o" - no debug information available for "indent.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/search.o" - no debug information available for "search.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/regex.o" - no debug information available for "regex.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/undo.o" - no debug information available for "undo.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/alloc.o" - no debug information available for "alloc.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/data.o" - no debug information available for "data.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/doc.o" - no debug information available for "doc.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/editfns.o" - no debug information available for "editfns.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/callint.o" - no debug information available for "callint.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/eval.o" - no debug information available for "eval.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/floatfns.o" - no debug information available for "floatfns.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/fns.o" - no debug information available for "fns.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/font.o" - no debug information available for "font.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/print.o" - no debug information available for "print.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/lread.o" - no debug information available for "lread.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/syntax.o" - no debug information available for "syntax.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/unexmacosx.o" - no debug information available for "unexmacosx.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/bytecode.o" - no debug information available for "bytecode.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/process.o" - no debug information available for "process.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/callproc.o" - no debug information available for "callproc.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/region-cache.o" - no debug information available for "region-cache.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/atimer.o" - no debug information available for "atimer.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/doprnt.o" - no debug information available for "doprnt.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/strftime.o" - no debug information available for "strftime.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/intervals.o" - no debug information available for "intervals.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/textprop.o" - no debug information available for "textprop.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/composite.o" - no debug information available for "composite.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/md5.o" - no debug information available for "md5.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/nsterm.o" - no debug information available for "nsterm.m".


warning: Could not find object file "/Users/typester/dev/emacs/src/nsfns.o" - no debug information available for "nsfns.m".


warning: Could not find object file "/Users/typester/dev/emacs/src/nsmenu.o" - no debug information available for "nsmenu.m".


warning: Could not find object file "/Users/typester/dev/emacs/src/nsselect.o" - no debug information available for "nsselect.m".


warning: Could not find object file "/Users/typester/dev/emacs/src/nsimage.o" - no debug information available for "nsimage.m".


warning: Could not find object file "/Users/typester/dev/emacs/src/nsfont.o" - no debug information available for "nsfont.m".


warning: Could not find object file "/Users/typester/dev/emacs/src/fontset.o" - no debug information available for "fontset.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/fringe.o" - no debug information available for "fringe.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/image.o" - no debug information available for "image.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/terminfo.o" - no debug information available for "terminfo.c".


warning: Could not find object file "/Users/typester/dev/emacs/src/lastfile.o" - no debug information available for "lastfile.c".


(gdb) r
Starting program: /Applications/Emacs.app/Contents/MacOS/Emacs 
dyld: unknown required load command 0x80000022

Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01045 in __dyld_dyld_fatal_error ()
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) Program not restarted.
(gdb) q
The program is running.  Exit anyway? (y or n)