[Ecls-list] Error trying to build on ARM9
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Mon Mar 17 16:05:29 UTC 2008
On Mon, Mar 17, 2008 at 4:48 PM, Jeff Cunningham <jeffrey at cunningham.net> wrote:
> I don't seem to have a Makefile in build/gmp. [...]
> jcunningham at ts7200:~/installed/ecl-0.9j$ ll build/gmp
> total 548
> -rw-r--r-- 1 jcunningham jcunningham 133 Mar 16 17:49 cnfm4.tmp
> -rw-r--r-- 1 jcunningham jcunningham 76 Mar 16 17:49 cnfm4i.tmp
> -rw-r--r-- 1 jcunningham jcunningham 148 Mar 16 17:54 cnfm4p.tmp
> -rw-r--r-- 1 jcunningham jcunningham 122730 Mar 16 17:56 config.log
> -rw-r--r-- 1 jcunningham jcunningham 82536 Mar 16 17:50 gmp-h.in
> -rw-r--r-- 1 jcunningham jcunningham 141889 Mar 16 17:50 gmp-impl.h
> -rwxr-xr-x 1 jcunningham jcunningham 194711 Mar 16 17:52 libtool
This is definitely an evidence that GMP failed to configure for your
system. There is a workaround, which is to tell the library to use C
instead of assembler. For instance, in my linux box I would type
gmp_build="none-apple-darwin" ../src/configure --prefix=$HOME
By using "none" as a machine architecture, this is what it outputs at
configuration time
....
using ABI="long"
CC="gcc -fPIC"
CFLAGS="-O3"
CPPFLAGS="-DNO_ASM"
MPN_PATH=" generic"
Given that there are no other issues, ECL should build as in any other
platform, though computations with big integers will be a bit slower.
Juanjo
--
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list