On Wed, 11 Aug 2004, Joost Kremers wrote:
> hi all,
>
> my situation is this: i have an iBook running linux/ppc that i'd like to
> install sbcl on. i also have access to an iMac running OS X 10.3.4 that has
> sbcl installen through DarwinPorts. now i'm wondering whether i can
> cross-compile sbcl on OS X for linux/ppc.
>
> my first attempt wasn't very successful. sbcl building on OS X assumed it was
> building for darwin, not linux.
>
> so my questions: does sbcl always assume it is compiling for the OS it's
> running on, (it would seem so, because make-config.sh uses uname to set the
> target OS), and if so, is there a way to tell it to cross-compile for a
> different OS, not just a different architecture?
Hello,
The instructions at http://sbcl-internals.cliki.net/Build should help you
cross-compile a SBCL for Linux/PPC. Another thing you may want to try is
to use an OpenMCL or older SBCL Linux/PPC binary on the host itself to
build from.
--
Brian Mastenbrook "God made the natural numbers;
http://www.cs.indiana.edu/~bmastenb/ all else is the work of man."
bmastenb@... -- Leopold Kroneker
|