Compiling C to Assembly
-
- Posts: 1
- Joined: Tue Mar 09, 2021 10:29 pm
Compiling C to Assembly
As said in the title, I'm wondering if I'm able to compile C to assembly using devkitpro
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling C to Assembly
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.
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.
Who is online
Users browsing this forum: No registered users and 3 guests