Crosscompiling Linux->Windows
Posted: Sat Sep 13, 2008 3:52 pm
There are Times when I do not want to give my Sourcecode to someone else, but want to show what I have been programming yet. As I am working mostly under Linux, and most other people do under Windows, I always have to boot Windows and compile everything in there.
I would like to have a possibility to compile my stuff under Linux, but in a way that it can be run under Windows.
As far as I read, the fas-Files from CLISP consist of portable bytecode, so it should be possible to use a windows-clisp to run them. My problem is - as I am using the clc, the fas-Files are in /var/cache/common-lisp-compiler/..., but what do I have to do to use them under a windows-version of clisp? Where to put them, how to load them, without source? I am using an ffi-Binding, could this become a problem?
Another thought I had was to try to set up an environment using clisp, mingw and wine, and to try to save the executable directly. I dont know if this can work, at least it sounds very hard to create and not very "stable".
I would like to have a possibility to compile my stuff under Linux, but in a way that it can be run under Windows.
As far as I read, the fas-Files from CLISP consist of portable bytecode, so it should be possible to use a windows-clisp to run them. My problem is - as I am using the clc, the fas-Files are in /var/cache/common-lisp-compiler/..., but what do I have to do to use them under a windows-version of clisp? Where to put them, how to load them, without source? I am using an ffi-Binding, could this become a problem?
Another thought I had was to try to set up an environment using clisp, mingw and wine, and to try to save the executable directly. I dont know if this can work, at least it sounds very hard to create and not very "stable".