5 Sep 19:40
ARM thumb support in spinlock_gcc_arm.hpp
From: Jerry Napoli <jnapoli <at> iteamsolutions.com>
Subject: ARM thumb support in spinlock_gcc_arm.hpp
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-09-05 17:43:30 GMT
Subject: ARM thumb support in spinlock_gcc_arm.hpp
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-09-05 17:43:30 GMT
Hi, I'm trying to compile using boost 1_36_0 for ARMv6 Thumb for iPhone development. The compiler used is gcc 4.0.x supplied with the iphone sdk. I run into issues with the inline assembly inside boost/detail/spinlock_gcc_arm.hpp. It generates a SWP instruction which (AFAIK) is not supported in thumb mode. The gnu arm assembler gives me a 'bad instruction ...' error. I'm able to work around it by modifying spinlock.hpp to include spinlock_sp.hpp instead. But has anyone addressed spinlock support for armv6 thumb? Thanks, Jerry _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________
Unsubscribe & other changes:
RSS Feed