Re: Building "Fat" Mac Binary, or Cross-Compiling from ARM arch to x86-64
Nick <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <[email protected]> |
On 1/2/25 4:59 PM, Viktor Dukhovni wrote: > Unfortunately, that can't trivially work for OpenSSL, because > architecture-specific assembly targets are included in the build. Yes, that makes sense. After sending my last message I noticed that the OpenSSL "C" files (.c) were building fine with both archs; it was when it got to the assembly file (.S) that it started failing. > You'd > need to build *both* the ARM *and* X86_64 assembly targets, invoking the > appropriate assembler on each one, and producing either object code for > that particular platform for inclusion in the "fat" binary, or somehow > producting a "fat" objec that is "empty" for one of the targets. > > How to do that, requires more detailed knowledge of fat binaries than I > can muster. This can be done with the "lipo" command. It was Plan B, which is now turning into Plan A. Regards, Nick -- You received this message because you are subscribed to the Google Groups "openssl-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/4241be84-646b-0a5c-b955-7c7d99e87f4b%40codesniffer.com.