(Solved) AmiDevCPP as.exe and "mppc" support.

Have a question about our Software Developer Kit? Ask them here.
Post Reply
AmiDARK
Posts: 40
Joined: Thu Oct 20, 2011 9:23 am

(Solved) AmiDevCPP as.exe and "mppc" support.

Post by AmiDARK »

Hello.

With the previous SDK 53.20 I was able to compile projects under AmiDevCPP.
But I installed 53.30, I now get an error concerning AS saying that paramater -mppc is unknown.
Can someone help me with this ?

Regards,
AmiDARK
Last edited by AmiDARK on Fri Sep 25, 2015 9:14 am, edited 1 time in total.
Sam440EP - AmigaOS 4.1 Final Edition
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 530
Joined: Sat Jun 18, 2011 3:12 pm
Location: Finland
Contact:

Re: AmiDevCPP as.exe and "mppc" support.

Post by salass00 »

AmiDARK wrote:Hello.

With the previous SDK 53.20 I was able to compile projects under AmiDevCPP.
But I installed 53.30, I now get an error concerning AS saying that paramater -mppc is unknown.
Can someone help me with this ?

Regards,
AmiDARK
I don't see what this has to do with the SDK since the AmigaOS 4.x SDK doesn't include any cross-compilers...

Your problem seems to be with your cross-compiler binutils install rather. I assume you are invoking "as" with the correct cross prefix ("ppc-amigaos-as" rather than just plain "as")?

I'm also not sure what the -mppc option is supposed to be doing as ppc code should be the default for ppc-amigaos-as...
User avatar
Daytona675x
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 34
Joined: Wed Jan 22, 2014 5:18 pm
Location: Cologne, Germany
Contact:

Re: AmiDevCPP as.exe and "mppc" support.

Post by Daytona675x »

I'm also not sure what the -mppc option is supposed to be doing as ppc code should be the default for ppc-amigaos-as...
Finetuning for concrete CPUs.
https://sourceware.org/binutils/docs/as ... dOpts.html
Anyway, no idea why an SDK update would break / influence the cross-compiler setup.
Warp3D driver code-basher and bug-smasher - btw.: driver writing is nothing mysterious
AmiDARK
Posts: 40
Joined: Thu Oct 20, 2011 9:23 am

Re: (Solved) AmiDevCPP as.exe and "mppc" support.

Post by AmiDARK »

In fact a folder in my AmiDevCPP AmigaOS4 SDK location was missing.
The AS.EXE that should be used for Amiga compilation was no more.
Reinstalling AmiDevCPP 0.98 fixed this problem fixing the issue.
Sam440EP - AmigaOS 4.1 Final Edition
Post Reply