AS(1) General Commands Manual AS(1)

as - assembler

as [ option ... ] [ file ... ]

The as command is deprecated. It is now calls clang to use clang's "intergated assembler".

Clang will automatically run its assembler on files with a .s extension. So you can replace: "as -arch arm64 foo.s -o foo.o" with "clang -arch arm64 foo.s -o foo.o"

cc(1), ld(1), nm(1), otool(1), arch(3), Mach-O(5)

August 23, 2023 Apple Inc.