4 # This script just checks that it's possible to build and run
5 # the cross-compiler for all backends using a predetermined
6 # 'local-target-features' for each.
7 # There is no dependence on the C runtime,
8 # since we don't assume the presence of either a C cross-compiler
9 # or a host machine on which to run its native compiler.
12 for arch
in alpha arm arm64 mips ppc sparc x86 x86-64
15 ltf
=local-target-features.lisp-expr
16 echo '(lambda (features) (union features (list :crossbuild-test ' > $ltf
17 cat crossbuild-runner
/backends
/$arch/local-target-features
>> $ltf
20 cp -fv crossbuild-runner
/backends
/$arch/stuff-groveled-from-headers.lisp \
21 output
/stuff-groveled-from-headers.lisp