bad CPU type in executable

Using Catalina 10.15.7 lost my unix applications because :

"bad CPU type in executable"


shell is zsh

mac is updated


^Best regards,


MacBook Pro 13″, macOS 10.15

Posted on Jan 18, 2021 11:37 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 19, 2021 5:01 AM

If you run the following in the Catalina Terminal, you should only see the following where "prog" is your binary executable that is throwing the bad CPU message:


file prog
progname: Mach-O 64-bit executable x86_64


No 32-bit (i386) code, or another CPU architecture is acceptable on Catalina or later, and you will have to recompile or revise your code accordingly if you still have the source.

1 reply
Question marked as Top-ranking reply

Jan 19, 2021 5:01 AM in response to b1d1

If you run the following in the Catalina Terminal, you should only see the following where "prog" is your binary executable that is throwing the bad CPU message:


file prog
progname: Mach-O 64-bit executable x86_64


No 32-bit (i386) code, or another CPU architecture is acceptable on Catalina or later, and you will have to recompile or revise your code accordingly if you still have the source.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

bad CPU type in executable

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.