[Mono-list] Cross compiling Mono for PowerPC
bojanr at brandeis.edu
Thu May 7 19:37:17 EDT 2009
Chris Plasun wrote:
> I would like to run Mono apps on a PowerPC Linux board (MPC8313).
> Is there a way I can cross compile Mono apps for the PowerPC architecture, or
> do I need to cross compile Mono itself for the PowerPC?
> Chris Plasun
If your target platform is running Linux, most distributions will
package Mono already, with the right bits compiled for PowerPC, and then
you only need to copy your application's binaries and run.
If you do need to compile Mono from source, you only need to
cross-compile the C runtime portions of Mono. Applications written on
top of Mono are compiled to IL, an intermediate language bytecode that's
arch-independent and JIT-compiled to native code on the target platform.
What you can do is cross-compile the C runtime bits, and compile the
class library (all compiled to IL, doesn't need cross-compiling) and
your application on your (presumably more powerful) dev box, and deploy
those to your target platform.
Hope that answers your questions,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2278 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090507/7374d4b5/attachment.bin
More information about the Mono-list