[Openmcl-devel] Porting

rjs at fdy2.demon.co.uk rjs at fdy2.demon.co.uk
Tue May 17 19:45:20 UTC 2011


"R. Matthew Emerson" <rme at clozure.com> wrote:
>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?

I did.

>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*).

That doesn't work, *known-x8664-backend* is set to whatever backend
is the CAR of *known-x8664-backends* and only this is pushed onto
*known-backends*. I put the NetBSD backend declarations after the
existing ones.

>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*.

Why not just push all the backends onto *known-backends* ?

Robert Swindells



More information about the Openmcl-devel mailing list