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

Have a question about our Software Developer Kit? Ask them here.

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

Postby AmiDARK » Wed Sep 23, 2015 3:33 pm

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 10:14 am, edited 1 time in total.
AmiDARK
 
Posts: 27
Joined: Thu Oct 20, 2011 10:23 am

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

Postby salass00 » Wed Sep 23, 2015 6:08 pm

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
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 486
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

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

Postby Daytona675x » Wed Sep 23, 2015 7:53 pm

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/PowerPC_002dOpts.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
User avatar
Daytona675x
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 34
Joined: Wed Jan 22, 2014 6:18 pm
Location: Cologne, Germany

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

Postby AmiDARK » Fri Sep 25, 2015 10:15 am

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.
AmiDARK
 
Posts: 27
Joined: Thu Oct 20, 2011 10:23 am


Return to SDK Support

Who is online

Users browsing this forum: No registered users and 3 guests