Cross compilation: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: PE32/64 note, sp) |
|||
Line 6: | Line 6: | ||
A simple format directive in the source allows for easy cross-compilation to any other supported system, for |
A simple format directive in the source allows for easy cross-compilation to any other supported system, for |
||
instance the Linux binaries of Phix are always compiled on Windows by throwing the following at "p -c -norun p32.exu" |
instance the Linux binaries of Phix are always compiled on Windows by throwing the following at "p -c -norun p32.exu" |
||
(with a similar p64.exu for 64bit, and |
(with a similar p64.exu for 64bit, and formats PE32 and PE64 for the reverse trick): |
||
<!--<lang Phix>(phixonline)--> |
<!--<lang Phix>(phixonline)--> |
||
<span style="color: #000000;">format</span> <span style="color: #000000;">ELF32</span> |
<span style="color: #000000;">format</span> <span style="color: #000000;">ELF32</span> |