Thanks Juanjo.

At the moment I am trying a compile with -DAO_USE_PTHREAD_DEFS in the
CFLAGS.  That seems to include a header which will implement these
primitives via pthreads mechanisms.  Not very efficient I guess but it
might work.


On Sun, Jul 22, 2012 at 10:50 AM, Juan Jose Garcia-Ripoll
<juanjose.garciarip...@gmail.com> wrote:
>
> On Sat, Jul 21, 2012 at 10:40 PM, H Durer <h.due...@gmail.com> wrote:
>>
>> Now that I finally have a raspberry pi, I was going to try to do some
>> lisp on it.
>
>
> Nice little device!
Yes, I love it so far.

> [...]

>> I tried compiling a recent version from source but without any flags I
>> get an error about unsupported ARM codes being used:
>
>
> The problems arise not because of an ECL component but because of a library 
> we use: libatomic-ops. This library is needed to implement user-space locking 
> routines (mutexes, message passing queues, etc) without resorting to complex 
> and expensive operating system calls. There are two escape routes here:
> #1 You disable support for threads, with --disable-threads at configuration 
> time
> #2 You install libatomic-ops from Debian and use it in ECL
>
> #1 might be the easiest one.

I really would like to have threads...

I managed to install the libatomic-ops-dev package which gives me the
headers and the lib pre-built.
Could you outline what is involved in using the system libatomic-ops?
Would configure find that and use it or do I need to tweak things in
the source and Makefiles to make use of that lib?


Thanks!
    Holger

------------------------------------------------------------------------------
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/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to