The steps to building Perl aren't complicated and they are outlined in the INSTALL file that comes with the Perl tarball.
My suggestion is that you build Perl from that on an M1 Apple machine. If you don't have an ARM-based MacOS machine, you will have to find out how to cross-compile Perl. This is outlined in the same file, in the Cross-compilation section.
Since the ARM-Macs are still *BSD-based, I have no reason to suspect that Perl would not build on them.
| [reply] |
Yes, I know how to build Perl. Out of the box it builds only for Intel, but there are switch(es) that I can use on C compiles to build for Intel and arm64, I just do not know how to incorporate them into the normal Configure machinations.This is the way Xcode builds fat/universal binaries. But, I will build on an M1 machine and see what happens! Thanks.
| [reply] |
But, I will build on an M1 machine and see what happens!
If there's already a perl build on this M1 machine, then running perl -V:config_args might help with the Configure options that you need to provide.
Cheers, Rob
| [reply] [d/l] |