Hi Folks,
I'm having some issues trying to compile ECL 12.7.1 under arm7. I'm setting up with the following:
export CXXFLAGS="-Wa,-mimplicit-it=thumb -DAO_REQUIRE_CAS"
export CFLAGS="-Wa,-mimplicit-it=thumb -DAO_REQUIRE_CAS"
./configure

This works fine, but when I 'make' it, it compiles for a couple of minutes  this I get the following:
dpp: /home/ubuntu/eclnew/ecl-12.7.1/src/c/threads/semaphore.d -> threads/semaphore.o.c
gcc -DECLDIR="\"/usr/local/lib/ecl-12.7.1\"" -I. -I/home/ubuntu/eclnew/ecl-12.7.1/build -I/home/ubuntu/eclnew/ecl-12.7.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY    -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wa,-mimplicit-it=thumb -DAO_REQUIRE_CAS -fPIC -D_THREAD_SAFE -Dlinux -c -o threads/semaphore.o threads/semaphore.o.c
/home/ubuntu/eclnew/ecl-12.7.1/src/c/threads/semaphore.d:21:2: error: #error "Cannot implement semaphores without AO_fetch_and_add_full"
make[2]: *** [threads/semaphore.o] Error 1
make[2]: Leaving directory `/home/ubuntu/eclnew/ecl-12.7.1/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory `/home/ubuntu/eclnew/ecl-12.7.1/build'
make: *** [all] Error 2

When I first got this error I googled and found this thread: http://sourceforge.net/mailarchive/message.php?msg_id=29573370 which is what made me add the -DAO_REQURE_CAS to the CFLAGS (and CXXFLAGS though I don't know if that is neccessary)

Have I done this incorrectly or is there something else I have missed? Any advice would be amazingly helpful!

Cheers all,
Bagley