Howto (probably) compile emacs from cvs on oz/gpe 3.5.4.1rc4)
From OpenZaurus
I haven't been able to finish the compilation because of sd IO errors but the build process went far enough so that I'm pretty confident it'll build the entire emacs (it stopped somewhere in byte compilation of .el, I have even run a version of the emacs executable)
I put this here if someone wants to give a try
Contents |
[edit]
packages to install: (compilation with gtk toolkit)
ipkg install :
gcc-symlinks binutils-symlinks automake autoconf make diffutils libc6-dev gtk+-dev pkgconfig ncurses-dev libpng-dev libjpeg-dev libungif-dev libx11-dev libxext-dev libxpm-dev libxft-dev libxrender-dev libxt-dev xproto-dev libz-dev libungif4
- other packages are installed automatically as dependencies
- tiff support is left out, x-extension also (xkb), no sound card support
- note that automake and autoconf are probably not required...
- not sure about if libxext-dev libxft-dev libxrender-dev are required either;)
[edit]
"hack" /usr/lib/libc.so :
/* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf32-littlearm) GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )/* /lib/ld-linux.so.2 )*/
[edit]
./configure --with-gtk --prefix=/usr --without-xim
[edit]
edit src/config.h
#define HAVE_XIM 0
(--witout-xim doesn't seem to have much effect...)
and comment out:
/* Define HAVE_X_I18N if we have usable i18n support. */ /* #ifdef HAVE_X11R6 #define HAVE_X_I18N #elif defined HAVE_X11R5 && !defined X11R5_INHIBIT_I18N #define HAVE_X_I18N #endif */ /* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */ /* #if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM #define HAVE_X11R6_XIM #endif */
[edit]
optional: exit X or use a swap
Just to be sure to have enough ram
[edit]
make bootstrap
and wait

