Created
August 6, 2019 10:34
-
-
Save jterrazz/821ba1c1672ec52613715b99a40310b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install nasm on MacOS | |
brew install nasm | |
# Compile assembly files | |
nasm -f macho64 <asm_file>.s -o <object_file>.o | |
ar rcs <exec_name> <object_files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment