Is there a flag to set another architecture type during the compilation process?

For example I’m on an Intel Mac but I want to make a project build for ARM Mac (or a fat binary) to not use Rosetta 2 for that version.

Or, I’m on a Mac but want to cross compile the lisp project/static library to windows.

Trying to integrate some code into a CI platform. Thx!

Sent from my iPhone


The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.