DEV Community

Sharanabasavaexaleap
Sharanabasavaexaleap

Posted on

Process to get Obj file from Assembly program Compiled using golang

1) Does golang compilation/ build of golang program use GNU binutils (same as that of C/C++) ?
We tried with -v and --save-temps and both dont work.

2)Which golang assembler to use process the assembly program and also to get obj file from assembler?
Command used to get the assembler(riscv64) :
go tool compile -S sample.go > sample.s

Top comments (0)