@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
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.