nasmを取得したので、アセンブリを実行可能ファイルにコンパイルしたいと考えています。エラーが発生し続けます:
ld: warning: ignoring file firststart.asm, file was built for unsupported file format which is not the architecture being linked (x86_64)
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
gccでコンパイルしようとすると。xcodeに付属のgccを使用しています。私は何を間違っていますか?