This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Testing libffi-3.0.12-rc1
On 2013-02-07, at 5:02 PM, Ludovic Courtès wrote:
> Peter Teeson <pteeson@me.com> skribis:
>
>> However the other issue mentioned on the discuss list, namely
>> placement of the include directory, has not yet been addressed in this
>> release.
>
> This problem doesn’t exist when using pkg-config:
>
> $ pkg-config libffi --cflags
> -I/nix/store/2pc5ib7imhb43y0w81ggpf7yvnqvl68w-libffi-3.0.9/lib/libffi-3.0.9/include
>
> (Yet I agree that this is somewhat surprising.)
FWIW I used Terminal to look for things on my Mac. Don't know if mine is typical for Macs.
Note the dates - Feb 2 whenI installed 3.0.11.
The 2011 stuff is probably part of the original Apple Lion install.
Gandalf:~ pteeson$ ls -al /usr/include/ffi*
-rw-r--r-- 1 root wheel 12921 2 Feb 14:46 /usr/include/ffi.h
-rw-r--r-- 1 root wheel 3960 2 Feb 14:46 /usr/include/ffitarget.h
/usr/include/ffi:
total 80
drwxr-xr-x 9 root wheel 306 22 Nov 2011 .
drwxr-xr-x 290 root wheel 9860 2 Feb 14:46 ..
-rw-r--r-- 1 root wheel 9470 25 May 2011 ffi.h
-rw-r--r-- 1 root wheel 2476 25 May 2011 ffi_common.h
-rw-r--r-- 1 root wheel 4199 25 May 2011 fficonfig.h
-rw-r--r-- 1 root wheel 455 25 May 2011 ffitarget.h
-rw-r--r-- 1 root wheel 3380 25 May 2011 ppc-darwin.h
-rw-r--r-- 1 root wheel 2968 25 May 2011 ppc-ffitarget.h
-rw-r--r-- 1 root wheel 2737 25 May 2011 x86-ffitarget.h
Gandalf:~ pteeson$ ls -al /usr/lib/libffi*
-rwxr-xr-x 1 root wheel 37892 2 Feb 14:46 /usr/lib/libffi.6.dylib
-rw-r--r-- 1 root wheel 115448 2 Feb 14:46 /usr/lib/libffi.a
lrwxr-xr-x 1 root wheel 14 2 Feb 14:46 /usr/lib/libffi.dylib -> libffi.6.dylib
-rwxr-xr-x 1 root wheel 896 2 Feb 14:46 /usr/lib/libffi.la
Gandalf:~ pteeson$ ls -al /usr/local/include/ffi*
-rw-r--r-- 1 root wheel 12921 2 Feb 15:40 /usr/local/include/ffi.h
-rw-r--r-- 1 root wheel 3960 2 Feb 15:40 /usr/local/include/ffitarget.h
Gandalf:~ pteeson$ ls -al /usr/local/lib/libffi*
-rwxr-xr-x 1 root wheel 37532 2 Feb 15:40 /usr/local/lib/libffi.6.dylib
-rw-r--r-- 1 root wheel 115640 2 Feb 15:40 /usr/local/lib/libffi.a
lrwxr-xr-x 1 root wheel 14 2 Feb 15:40 /usr/local/lib/libffi.dylib -> libffi.6.dylib
-rwxr-xr-x 1 root wheel 902 2 Feb 15:40 /usr/local/lib/libffi.la
/usr/local/lib/libffi-3.0.11:
total 0
drwxr-xr-x 3 root wheel 102 1 Jan 17:32 .
drwxr-xr-x 59 root wheel 2006 7 Feb 15:47 ..
drwxr-xr-x 4 root wheel 136 1 Jan 17:32 include
/usr/local/lib/libffi-3.0.12-rc1:
total 0
drwxr-xr-x 3 root wheel 102 7 Feb 15:47 .
drwxr-xr-x 59 root wheel 2006 7 Feb 15:47 ..
drwxr-xr-x 4 root wheel 136 7 Feb 15:57 include
Gandalf:~ pteeson$