Ignore:
Timestamp:
08/05/09 12:39:20 (11 years ago)
Author:
felix winkelmann
Message:

more intelligent inlining; standard-extension procedure in setup-api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/branches/inlining/manual/Extensions

    r15000 r15323  
    151151Similar to {{install-program}}, but additionally changes the file permissions of all
    152152files in {{FILELIST}} to executable (for installing shell-scripts).
     153
     154==== standard-extension
     155
     156 [procedure] (standard-extension ID VERSION)
     157
     158A convenience procedure that combines the compilation and installation of
     159a simple single-file extension. This is roughly equivalent to:
     160
     161  (compile -s -O2 -d1 ID.scm -j ID)
     162  (compile -c -O2 -d1 ID.scm -j ID -unit ID)
     163  (compile -s -O2 -d0 ID.import.scm)
     164 
     165  (install-extension
     166   'ID
     167   '("ID.o" "ID.so" "ID.import.so")
     168   '((version 1.0)
     169     (static "ID.o")))
    153170
    154171
Note: See TracChangeset for help on using the changeset viewer.