I would mention as well that cross compiling from an x86 to generate s390x also works well. Today I use a MacBook Pro with the M1xPro (ARM) processor. The days of heavy porting are in almost every case I’ve seen a compile away and not a “porting” exercise.
Matt Hogstrom m...@hogstrom.org Though wise men at their end know dark is right, Because their words had forked no lightning they Do not go gentle into that good night. — Dylan Thomas, “Do not go gentle into that good night" > On Apr 25, 2022, at 1:11 AM, David Crayford <dcrayf...@gmail.com> wrote: > > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN