[Ecls-list] Cross compilation problems

Brian Zhou b88zhou at gmail.com
Fri Apr 10 01:30:21 UTC 2009

Hi all,

I was trying to cross build ecl 9.4.1 but got some problems.

1) Native compilation on an armel EABI NAS device works fine.

2) src/configure refuses to detect ECL_LONG_LONG_BITS when cross compiling,
so I had to remove the detection script and pass ECL_LONG_LONG_BITS by
environment. I know the correct way is to patch aclocal.m4 and autoreconf,
but that has some problem as well, so for now I just patched src/configure.

3) I installed the host build in host/builds/ecl/install
But lib/ecl-9.4.1/dpp and lib/ecl-9.4.1/ecl_min does not have execution
permission. I had to chmod +x manually.

4) Showstopper
;;;   /home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-
gnueabi-gcc -o "/home/slug/optware/cs08q1armel/builds/ecl/build/asdf.fas" -
"/home/slug/optware/cs08q1armel/builds/ecl/build/ext/asdf-ecl.o"  -shared  -
L/home/slug/optware/cs08q1armel/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-
link,/home/slug/optware/cs08q1armel/staging/opt/lib   -
L/home/slug/optware/cs08q1armel/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-
link,/home/slug/optware/cs08q1armel/staging/opt/lib   libecl.so -ldl  -lm   -
;;; Compiling ext:profile;profile.lisp.
;;; OPTIMIZE levels: Safety=2, Space=3, Speed=1, Debug=0
;;; Compiling (DEFUN GET-BYTES-CONSED ...).
;;; Compiling (DEFVAR *PROFILED-FUN-NAME->INFO* ...).
;;; Warning: Ignoring definition for class PROFILE-INFO
No class named PROFILE-INFO.
Broken at SI:TOP-LEVEL. File:
#P"/home/slug/optware/cs08q1armel/builds/ecl/src/lsp/top.lsp" (Form
#26)Available restarts:
Top level.

Then it stuck there.

Any idea what changes I need to overcome that?


-Brian Zhou
bzhou at nslu2-linux.org

More information about the ecl-devel mailing list