On 25/4/22 11:37, kekronbekron wrote:
What about code that does CPU instruction set specific things. How likely is the success of its compilation on s390x with minimal work.
About 100% likely. Linux is Linux is Linux. IBM have ported all the compiler tool-chains such a GCC, LLVM/Clang etc. In the case of LLVM, it's used to build other compilers and runtimes such as Rust, Swift, Golang etc. You can cross-compile if you don't have access to Linux on Z but then you wouldn't have tested it :)
If it's "easy", why is the IBM Z and LinuxOne Open Source list not bigger -https://www.ibm.com/community/z/open-source-software/
I have no doubt there's a lot more available then what's listed in that community. It's awesome that IBM have ported LuaJIT to s390x. It should be possible to port that to z/OS and then OpenResty and Kong. https://github.com/linux-on-ibm-z/LuaJIT/blob/v2.1/src/vm_s390x.dasc
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN