R. Matthew Emerson
rme at clozure.com
Tue May 17 14:22:53 CDT 2011
On May 17, 2011, at 9:46 AM, <rjs at fdy2.demon.co.uk> <rjs at fdy2.demon.co.uk> wrote:
> Would it be possible for someone to check that the instructions for
> cross compiling are complete ?
> I have tried modifying what is at
> <http://trac.clozure.com/ccl/wiki/CrossCompiling> but I don't get
> anything in *KNOWN-BACKENDS* other than the host one.
Possibly dumb question, but you did edit
ccl:compiler;X86;X8664;x8664-backend.lisp and make
the "obvious" additions for netbsdx8664?
If you did, you may have to manually evaluate the
relevant netbsd-specific forms. You could also
LOAD the file manually (after pushing the appropriate
stuff onto *features*).
You just sort of have to beat things into submission
until *netbsdx8664-backend* looks right and it's on
*known-backends* and *known-x8664-backends*.
> I'm doing:
> (pushnew :netbsd-target *features*)
> (pushnew :netbsdx86-target *features*)
> (pushnew :netbsdx8664-target *features*)
> (in-package "CCL")
> (require-update-modules *x86-compiler-modules* t)
> (require-update-modules *x8664-compiler-backend-modules* t)
> (require-update-modules *x86-compiler-backend-modules* t)
> (require-update-modules *x86-xdev-modules* t)
> (defpackage "X86-NETBSD64")
> (load "ccl:lib;ffi-netbsdx8664")
> (require-update-modules *x8664-xload-modules* t)
> (setup-x8664-ftd (find-backend :netbsdx8664))
> I'm cross compiling from Solaris (under Xen).
More information about the Openmcl-devel