Compiling C to Assembly

support for the powerpc toolchain
Post Reply
_TapeDispenser
Posts: 1
Joined: Tue Mar 09, 2021 10:29 pm

Compiling C to Assembly

Post by _TapeDispenser » Tue Mar 09, 2021 10:38 pm

As said in the title, I'm wondering if I'm able to compile C to assembly using devkitpro

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Compiling C to Assembly

Post by WinterMute » Thu May 27, 2021 2:51 pm

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests