Ignore:
Timestamp:
Oct 7, 2011, 3:24:39 PM (8 years ago)
Author:
gb
Message:

linux-files.lisp: try to use #_dladdr in Android version of
%probe-shared-library. Don't know if that works, but #$RTLD_NOLOAD
isn't defined and (probably) isn't supported on Android.

lisp-kernel/androidarm/Makefile: use current (r6b) Android NDK;
use Android-9 API (2.3).

lisp-kernel/pmcl-kernel: when reading /proc/cpuinfo to determine
ARM arch, use fgets() because Android doesn't offer getline().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/linux-files.lisp

    r15009 r15012  
    977977       
    978978(defun %probe-shared-library (shlib)
    979   #-(or windows-target freebsd-target)
     979  #-(or windows-target android-target freebsd-target)
    980980  (with-cstrs ((name (shlib.pathname shlib)))
    981981    (not (%null-ptr-p (#_dlopen name (logior #$RTLD_NOW #$RTLD_NOLOAD)))))
    982982  ;; FreeBSD may support #$RTLD_NOLOAD in 8.0, and that support may
    983983  ;; have been backported to 7.2.  Until then ...
    984   #+freebsd-target                     
     984  #+(or freebsd-target android-target)
    985985  (rlet ((info #>Dl_info))
    986986    (not (eql 0 (#_dladdr (shlib.base shlib) info))))
Note: See TracChangeset for help on using the changeset viewer.