target features when compiling too added by klm` on Tue Dec 29 01:23:57 2015

I have defined some arm, gles and android features in TARGET_FEATURES for my cross-CHICKEN. This works for run-time. How can I add features when "compiling for target..." too?


[klm@kth entry]$ cat entry.setup 
;; -*- scheme -*-
(pp (features))
;;(exit -1)
;;(compile -t entry.scm)
[klm@kth entry]$ ../chicken/host/com.adellica.sokoworld/bin/android-chicken-install 
retrieving ...
checking platform for `entry' ...
checking dependencies for `entry' ...
install order:
("entry")
installing entry: ...
copying sources for target installation
  cp -r ./* /tmp/tempbe09.1199
changing current directory to .
deleting stale binaries ...deleting stale binaries ...
  '/home/klm/projects/sokoworld/android/jni/chicken/host/com.adellica.sokoworld/bin/android-csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"entry\" \"\"))" -e "(host-extension #t)" 'entry.setup'
(chicken-setup:
  utils:
  files:
  srfi-13:
  srfi-14:
  irregex:
  srfi-1:
  csi:
  ports:
  srfi-28:
  extras:
  data-structures:
  srfi-31:
  srfi-26:
  srfi-16:
  srfi-15:
  srfi-11:
  srfi-8:
  module-environments:
  hygienic-macros:
  syntax-rules:
  srfi-0:
  srfi-2:
  srfi-6:
  srfi-9:
  srfi-46:
  srfi-55:
  srfi-61:
  chicken-4:
  chicken-4.9:
  64bit:
  cross-chicken:
  ptables:
  dload:
  little-endian:
  x86-64:
  gnu:
  linux:
  unix:
  chicken:
  srfi-6:
  srfi-10:
  srfi-23:
  srfi-30:
  srfi-39:
  srfi-62:
  srfi-17:
  srfi-12:
  srfi-88:
  srfi-98:
  irregex-is-core-unit:)
installing for target ...
changing current directory to /tmp/tempbe09.1199
deleting stale binaries ...deleting stale binaries ...
  '/home/klm/projects/sokoworld/android/jni/chicken/host/com.adellica.sokoworld/bin/android-csi' -bnq -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"entry\" \"\"))" -e "(destination-prefix \"/home/klm/projects/sokoworld/android/jni/chicken/target/data/data/com.adellica.sokoworld\")" -e "(runtime-prefix \"/home/klm/projects/sokoworld/android/jni/chicken/target/data/data/com.adellica.sokoworld\")" 'entry.setup'
(chicken-setup:
  utils:
  files:
  srfi-13:
  srfi-14:
  irregex:
  srfi-1:
  csi:
  ports:
  srfi-28:
  extras:
  data-structures:
  srfi-31:
  srfi-26:
  srfi-16:
  srfi-15:
  srfi-11:
  srfi-8:
  module-environments:
  hygienic-macros:
  syntax-rules:
  srfi-0:
  srfi-2:
  srfi-6:
  srfi-9:
  srfi-46:
  srfi-55:
  srfi-61:
  chicken-4:
  chicken-4.9:
  64bit:
  cross-chicken:
  ptables:
  dload:
  little-endian:
  x86-64:
  gnu:
  linux:
  unix:
  chicken:
  srfi-6:
  srfi-10:
  srfi-23:
  srfi-30:
  srfi-39:
  srfi-62:
  srfi-17:
  srfi-12:
  srfi-88:
  srfi-98:
  irregex-is-core-unit:)