@mngrif you should be able to use gcc but don't mind me, I don't work on Powerppc.

Follow

@mngrif so I am assuming that you are compiling a source. s because you started with a source.c and compiled it with gcc -S

I am further guessing you called something like printf() or puts() in the source.c file.

You need to pull in the c library, so using gcc -o source source.s will be your friend.

gcc -S hello.c
gcc -o hello hello.s
./hello

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.