How to cross-compile the ksh? #578
Replies: 2 comments 1 reply
-
No, because the build depends on various feature tests that have to be run on the architecture and OS that the binary is going to be run on. For example, a test is done not just if AT&T originally tried to make cross-compilation possible by providing a The crossexec script is still part of the 93u+m distro. I've actually never tried this out, so I don't know how well it works (if at all). It's just never reached the top of my priority list. |
Beta Was this translation helpful? Give feedback.
-
Thanks @McDutchie for the thorough explanations. xcompile may be usefull sometimes, it happen the poor starving programmer don't have access to the 'real' remote machine and but instead have access to a qemu system instance that could be order of magnitude slower than the bare metal. With your explanations, I understand that iffe that I see when doing build actually mean (if feature OK). May be a way to remote run the iffe suites and getting back the cached iffe, could be enough to after this to xcompile, for same OS for which a multilib is available (i.e linux). Another use case could be a target system (same os/arch) that is so tiny (embeded) that it don't host a compiler suite, but would enjoy a shell that would be more a busybox then, and ksh93 with its builtin dynload could be a good candidate. May be a side project for volunteer, because I understand it is not a high prio... |
Beta Was this translation helpful? Give feedback.
-
Is there any ez way like using
./configure --host=xxx
while we compiling other softwares?Beta Was this translation helpful? Give feedback.
All reactions