the.bay.news

Compiling .asm files using build.zig

Ziggit
Compiling .asm files using build.zig
Hey ziggers, I am trying to figure out how I could assemble a bunch of individual .asm files to executables using the zig build system. I am following this x86_64 assembly guide using the nasm assembler/assembly flavor (i guess you call it?) to generate object files and then I have to link them to create executables like so: nasm -f elf64 -o hello.o hello.asm ld -o hello hello.o Can you give me hints how I could use the zig build system to ideally assemble each .asm file I specify in build.z...

Hey ziggers, I am trying to figure out how I could assemble a bunch of individual .asm files to executables using the zig build system. I am following this x86_64 assembly guide…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.