"unresolved symbols" on nasm/macOS (x86-64)
I have a small library and recently ported some functions from C to assembly on Linux x86-64. Then I wanted to make adoptions for macOS 15 on x86-64 but did run into an issue with nasm (installed via MacPorts). Using a single function buffer_close() for testing here. With C it works fine: lib$ cc -c -o buffer_close.o buffer_close.c lib$ cc -I. -o buffer buffer.c buffer_close.o buffer_flush.o But when using the assembly version of the function the linker can't resolve all symbols: lib$ nasm -I. -f macho64 -o buffer_close.o buffer_close.asm.off lib$ cc -I. -o buffer buffer.c buffer_close.o buffe
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.