Artifact a3a2927b89ac5c0b885220792e5fae3aa5cd78c7:


0000: 66 66 63 61 6c 6c 20 2d 20 66 6f 72 65 69 67 6e  ffcall - foreign
0010: 20 66 75 6e 63 74 69 6f 6e 20 63 61 6c 6c 20 6c   function call l
0020: 69 62 72 61 72 69 65 73 0a 0a 54 68 69 73 20 69  ibraries..This i
0030: 73 20 61 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 6f  s a collection o
0040: 66 20 66 6f 75 72 20 6c 69 62 72 61 72 69 65 73  f four libraries
0050: 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 75 73   which can be us
0060: 65 64 20 74 6f 20 62 75 69 6c 64 0a 66 6f 72 65  ed to build.fore
0070: 69 67 6e 20 66 75 6e 63 74 69 6f 6e 20 63 61 6c  ign function cal
0080: 6c 20 69 6e 74 65 72 66 61 63 65 73 20 69 6e 20  l interfaces in 
0090: 65 6d 62 65 64 64 65 64 20 69 6e 74 65 72 70 72  embedded interpr
00a0: 65 74 65 72 73 2e 0a 0a 54 68 65 20 66 6f 75 72  eters...The four
00b0: 20 70 61 63 6b 61 67 65 73 20 61 72 65 3a 0a 0a   packages are:..
00c0: 20 20 20 20 61 76 63 61 6c 6c 20 2d 20 63 61 6c      avcall - cal
00d0: 6c 69 6e 67 20 43 20 66 75 6e 63 74 69 6f 6e 73  ling C functions
00e0: 20 77 69 74 68 20 76 61 72 69 61 62 6c 65 20 61   with variable a
00f0: 72 67 75 6d 65 6e 74 73 0a 0a 20 20 20 20 76 61  rguments..    va
0100: 63 61 6c 6c 20 2d 20 43 20 66 75 6e 63 74 69 6f  call - C functio
0110: 6e 73 20 61 63 63 65 70 74 69 6e 67 20 76 61 72  ns accepting var
0120: 69 61 62 6c 65 20 61 72 67 75 6d 65 6e 74 20 70  iable argument p
0130: 72 6f 74 6f 74 79 70 65 73 0a 0a 20 20 20 20 74  rototypes..    t
0140: 72 61 6d 70 6f 6c 69 6e 65 20 2d 20 63 6c 6f 73  rampoline - clos
0150: 75 72 65 73 20 61 73 20 66 69 72 73 74 2d 63 6c  ures as first-cl
0160: 61 73 73 20 43 20 66 75 6e 63 74 69 6f 6e 73 0a  ass C functions.
0170: 0a 20 20 20 20 63 61 6c 6c 62 61 63 6b 20 2d 20  .    callback - 
0180: 63 6c 6f 73 75 72 65 73 20 77 69 74 68 20 76 61  closures with va
0190: 72 69 61 62 6c 65 20 61 72 67 75 6d 65 6e 74 73  riable arguments
01a0: 20 61 73 20 66 69 72 73 74 2d 63 6c 61 73 73 20   as first-class 
01b0: 43 20 66 75 6e 63 74 69 6f 6e 73 0a 20 20 20 20  C functions.    
01c0: 20 20 20 20 20 20 20 20 20 20 20 28 61 20 72 65             (a re
01d0: 65 6e 74 72 61 6e 74 20 63 6f 6d 62 69 6e 61 74  entrant combinat
01e0: 69 6f 6e 20 6f 66 20 76 61 63 61 6c 6c 20 61 6e  ion of vacall an
01f0: 64 20 74 72 61 6d 70 6f 6c 69 6e 65 29 0a 0a 0a  d trampoline)...
0200: 49 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 69 6e 73  Installation ins
0210: 74 72 75 63 74 69 6f 6e 73 3a 0a 0a 20 20 20 20  tructions:..    
0220: 20 20 20 20 2e 2f 63 6f 6e 66 69 67 75 72 65 0a      ./configure.
0230: 20 20 20 20 20 20 20 20 6d 61 6b 65 0a 20 20 20          make.   
0240: 20 20 20 20 20 6d 61 6b 65 20 63 68 65 63 6b 0a       make check.
0250: 20 20 20 20 20 20 20 20 6d 61 6b 65 20 69 6e 73          make ins
0260: 74 61 6c 6c 0a 0a 0a 46 69 6c 65 73 20 69 6e 20  tall...Files in 
0270: 74 68 69 73 20 70 61 63 6b 61 67 65 3a 0a 0a 20  this package:.. 
0280: 20 20 20 44 6f 63 75 6d 65 6e 74 61 74 69 6f 6e     Documentation
0290: 3a 0a 0a 20 20 20 20 20 20 20 20 52 45 41 44 4d  :..        READM
02a0: 45 20 20 20 20 20 20 20 20 20 20 74 68 69 73 20  E          this 
02b0: 74 65 78 74 0a 20 20 20 20 20 20 20 20 43 4f 50  text.        COP
02c0: 59 49 4e 47 20 20 20 20 20 20 20 20 20 66 72 65  YING         fre
02d0: 65 20 73 6f 66 74 77 61 72 65 20 6c 69 63 65 6e  e software licen
02e0: 73 65 0a 20 20 20 20 20 20 20 20 50 4c 41 54 46  se.        PLATF
02f0: 4f 52 4d 53 20 20 20 20 20 20 20 6c 69 73 74 20  ORMS       list 
0300: 6f 66 20 73 75 70 70 6f 72 74 65 64 20 70 6c 61  of supported pla
0310: 74 66 6f 72 6d 73 0a 0a 20 20 20 20 53 6f 75 72  tforms..    Sour
0320: 63 65 3a 0a 0a 20 20 20 20 20 20 20 20 61 76 63  ce:..        avc
0330: 61 6c 6c 2f 2a 20 20 20 20 20 20 20 20 74 68 65  all/*        the
0340: 20 61 76 63 61 6c 6c 20 70 61 63 6b 61 67 65 0a   avcall package.
0350: 20 20 20 20 20 20 20 20 76 61 63 61 6c 6c 2f 2a          vacall/*
0360: 20 20 20 20 20 20 20 20 74 68 65 20 76 61 63 61          the vaca
0370: 6c 6c 20 70 61 63 6b 61 67 65 0a 20 20 20 20 20  ll package.     
0380: 20 20 20 74 72 61 6d 70 6f 6c 69 6e 65 2f 2a 20     trampoline/* 
0390: 20 20 20 74 68 65 20 74 72 61 6d 70 6f 6c 69 6e     the trampolin
03a0: 65 20 70 61 63 6b 61 67 65 0a 20 20 20 20 20 20  e package.      
03b0: 20 20 63 61 6c 6c 62 61 63 6b 2f 2a 20 20 20 20    callback/*    
03c0: 20 20 74 68 65 20 63 61 6c 6c 62 61 63 6b 20 70    the callback p
03d0: 61 63 6b 61 67 65 0a 0a 20 20 20 20 49 6e 73 74  ackage..    Inst
03e0: 61 6c 6c 61 74 69 6f 6e 3a 0a 0a 20 20 20 20 20  allation:..     
03f0: 20 20 20 63 6f 6e 66 69 67 75 72 65 20 20 20 20     configure    
0400: 20 20 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e     configuration
0410: 20 73 63 72 69 70 74 0a 20 20 20 20 20 20 20 20   script.        
0420: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 20 20 20 20  configure.in    
0430: 61 75 74 6f 63 6f 6e 66 2d 32 2e 31 30 20 73 6f  autoconf-2.10 so
0440: 75 72 63 65 20 66 6f 72 20 74 68 65 20 63 6f 6e  urce for the con
0450: 66 69 67 75 72 61 74 69 6f 6e 20 73 63 72 69 70  figuration scrip
0460: 74 0a 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f  t.        autoco
0470: 6e 66 2f 2a 20 20 20 20 20 20 61 75 78 69 6c 69  nf/*      auxili
0480: 61 72 79 20 63 6f 6e 66 69 67 75 72 61 74 69 6f  ary configuratio
0490: 6e 20 73 63 72 69 70 74 73 0a 20 20 20 20 20 20  n scripts.      
04a0: 20 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 20 20    Makefile.in   
04b0: 20 20 4d 61 6b 65 66 69 6c 65 20 6d 61 73 74 65    Makefile maste
04c0: 72 0a 0a 0a 43 6f 70 79 72 69 67 68 74 20 6e 6f  r...Copyright no
04d0: 74 69 63 65 3a 0a 0a 43 6f 70 79 72 69 67 68 74  tice:..Copyright
04e0: 20 31 39 39 35 2d 32 30 30 34 20 42 72 75 6e 6f   1995-2004 Bruno
04f0: 20 48 61 69 62 6c 65 2c 20 3c 62 72 75 6e 6f 40   Haible, <bruno@
0500: 63 6c 69 73 70 2e 6f 72 67 3e 0a 43 6f 70 79 72  clisp.org>.Copyr
0510: 69 67 68 74 20 32 30 30 30 20 41 64 61 6d 20 46  ight 2000 Adam F
0520: 65 64 6f 72 20 3c 66 65 64 6f 72 40 67 6e 75 2e  edor <fedor@gnu.
0530: 6f 72 67 3e 0a 43 6f 70 79 72 69 67 68 74 20 32  org>.Copyright 2
0540: 30 30 34 20 50 61 75 6c 20 47 75 79 6f 74 20 3c  004 Paul Guyot <
0550: 70 67 75 79 6f 74 40 6b 61 6c 6c 69 73 79 73 2e  pguyot@kallisys.
0560: 6e 65 74 3e 0a 0a 54 68 69 73 20 69 73 20 66 72  net>..This is fr
0570: 65 65 20 73 6f 66 74 77 61 72 65 20 64 69 73 74  ee software dist
0580: 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68  ributed under th
0590: 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75  e GNU General Pu
05a0: 62 6c 69 63 20 4c 69 63 65 6e 63 65 0a 64 65 73  blic Licence.des
05b0: 63 72 69 62 65 64 20 69 6e 20 74 68 65 20 66 69  cribed in the fi
05c0: 6c 65 20 43 4f 50 59 49 4e 47 2e 20 43 6f 6e 74  le COPYING. Cont
05d0: 61 63 74 20 74 68 65 20 61 75 74 68 6f 72 20 69  act the author i
05e0: 66 20 79 6f 75 20 64 6f 6e 27 74 20 68 61 76 65  f you don't have
05f0: 20 74 68 69 73 0a 6f 72 20 63 61 6e 27 74 20 6c   this.or can't l
0600: 69 76 65 20 77 69 74 68 20 69 74 2e 20 54 68 65  ive with it. The
0610: 72 65 20 69 73 20 41 42 53 4f 4c 55 54 45 4c 59  re is ABSOLUTELY
0620: 20 4e 4f 20 57 41 52 52 41 4e 54 59 2c 20 65 78   NO WARRANTY, ex
0630: 70 6c 69 63 69 74 20 6f 72 20 69 6d 70 6c 69 65  plicit or implie
0640: 64 2c 0a 6f 6e 20 74 68 69 73 20 73 6f 66 74 77  d,.on this softw
0650: 61 72 65 2e 0a 0a 0a 44 69 73 74 72 69 62 75 74  are....Distribut
0660: 69 6f 6e 3a 0a 0a 68 74 74 70 3a 2f 2f 77 77 77  ion:..http://www
0670: 2e 68 61 69 62 6c 65 2e 64 65 2f 62 72 75 6e 6f  .haible.de/bruno
0680: 2f 67 6e 75 2f 66 66 63 61 6c 6c 2d 31 2e 31 30  /gnu/ffcall-1.10
0690: 2e 74 61 72 2e 67 7a 0a 66 74 70 3a 2f 2f 66 74  .tar.gz.ftp://ft
06a0: 70 2e 73 61 6e 74 61 66 65 2e 65 64 75 2f 70 75  p.santafe.edu/pu
06b0: 62 2f 67 6e 75 2f 66 66 63 61 6c 6c 2d 31 2e 31  b/gnu/ffcall-1.1
06c0: 30 2e 74 61 72 2e 67 7a 0a 0a 48 6f 6d 65 70 61  0.tar.gz..Homepa
06d0: 67 65 3a 0a 0a 68 74 74 70 3a 2f 2f 77 77 77 2e  ge:..http://www.
06e0: 68 61 69 62 6c 65 2e 64 65 2f 62 72 75 6e 6f 2f  haible.de/bruno/
06f0: 70 61 63 6b 61 67 65 73 2d 66 66 63 61 6c 6c 2e  packages-ffcall.
0700: 68 74 6d 6c 0a                                   html.