On 9 May 2012, at 18:52, David Schleef wrote:

> On Wed, May 09, 2012 at 05:42:18PM +0200, Chris Harding wrote:
>> Thanks David.
>> 
>> I've written some build scripts for compiling orc and schroedinger for iOS. 
>> I had to comment out:
>> 
>> __clear_cache (code->code, code->code + code->code_size);
> 
> You'll need to replace this somehow.  This is a glibc-only call
> that synchronizes the I-cache and D-cache.
> 

Cheers! Turns out if I switch to using the older LLVM-GCC compiler in Xcode I 
can leave the call to__clear_cache in the orc library and it doesn't complain.

If I try and run the code in testsuite/encode.c (on the phone) I get errors at 
the end of orc_memcpy when calling func = c->exec. Occasionally it will get as 
far as pushing one or two frames before this occurs. Any ideas?

Also, is there an easy way to force the program to run in a single thread for 
the time being, to aid debugging?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Schrodinger-devel mailing list
Schrodinger-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to