Coldfire 5474 and GMP

Dec 05, 2006 0 Replies

I'm having some problems building gmp on the EVBLite board. Apparently, there is no support in GMP for the Coldfire reduced instruction set. Any suggestions or experiences on how to make this work?



Thanks, Tom


make[2]: Entering directory `/opt/ltib/rpm/BUILD/gmp-4.1.4/mpn' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..



-D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mp_bases | sed 's/_$//'`



-g -fomit-frame-pointer -O2 -m68000 -c -o mp_bases.lo `test -f mp_bases.c || echo './'`mp_bases.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..



-DOPERATION_mp_bases -g -fomit-frame-pointer -O2 -m68000 -c mp_bases.c



-DPIC -o .libs/mp_bases.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..



-DOPERATION_mp_bases -g -fomit-frame-pointer -O2 -m68000 -c mp_bases.c



-o mp_bases.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..



-D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add | sed 's/_$//'` -g



-fomit-frame-pointer -O2 -m68000 -c -o add.lo `test -f add.c || echo './'`add.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..



-DOPERATION_add -g -fomit-frame-pointer -O2 -m68000 -c add.c -DPIC -o .libs/add.o /tmp/ccBu6yGr.s: Assembler messages: /tmp/ccBu6yGr.s:18: Error: operands mismatch -- statement `movm.l #0x3030,-(%sp)' ignored /tmp/ccBu6yGr.s:85: Error: operands mismatch -- statement `movm.l (%sp)+,#0xc0c' ignored make[2]: *** [add.lo] Error 1


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required