I'm using -m as per instruction from a video. As you can see, I don't know much about codingCan I ask what you are trying to do? Why are you using -m?
As you say, the CPU's on the Pi are ARM not x86.
Normally to build a simple hello world program hand written in assembler, use something like this:Otherwise if its to be used with the C compiler (with a "main" function etc):Code:
as hello.s -o hello.o && ld hello.o -o helloCode:
cc hello.s -o hello
Statistics: Posted by RaspyHat — Sun Apr 06, 2025 10:34 am