Page 1 of 1
Compiling C to Assembly
Posted: Tue Mar 09, 2021 10:38 pm
by _TapeDispenser
As said in the title, I'm wondering if I'm able to compile C to assembly using devkitpro
Re: Compiling C to Assembly
Posted: Thu May 27, 2021 2:51 pm
by WinterMute
devkitPro is an organisation that provides and maintains toolchains & libraries for a variety of consoles so, no you can't compile C to assembly using devkitPro.
Since you've posted in the devkitPPC section I have to assume that you meant our powerpc-eabi cross compiler. You can of course use powerpc-eabi-gcc to generate assembly from C code. This
blog post will give you the incantations you need. Where the author specifies gcc you should use powerpc-eabi-gcc instead.