Omnimaga

Calculator Community => Casio Calculators => Topic started by: AngelFish on April 29, 2011, 07:40:06 pm

Title: GCC help
Post by: AngelFish on April 29, 2011, 07:40:06 pm
As some of you know, GCC for Prizm has been delayed a few days because of a bug in the assembly of some RAM initialization code. For some reason, the file crt0.s (the source) is generating interrupt errors when compiled with GCC, but not when compiled with the fx-9860 SDK and Hitachi's compiler. We've been looking at it for some time and it's not immediately apparent what the difference is. Any help would be appreciated.
Title: Re: GCC help
Post by: z80man on May 02, 2011, 07:32:01 pm
So this is the same source, but one assembled with the Renesas compiler and one with GCC. And it is only the Renesas version that works now. So could I see a pre-assembled copy of that code from each compiler, that way I can view the hex to see how it is different.
Title: Re: GCC help
Post by: AngelFish on May 02, 2011, 07:44:51 pm
crt0.s is the source. default(5).g3a contains the binaries from GCC in standard .g3a format. DEAULT.g3a contains the binaries from the Hitachi/Renesas compiler.
Title: Re: GCC help
Post by: DJ Omnimaga on May 12, 2011, 05:14:15 pm
Is GCC the Cemetech Prizm SDK?
Title: Re: GCC help
Post by: JosJuice on May 13, 2011, 01:28:19 am
Is GCC the Cemetech Prizm SDK?
GCC is the compiler of the newest Prizm SDK. GCC isn't the compiler if you use Simon's Mini-SDK, though.
Title: Re: GCC help
Post by: z80man on May 13, 2011, 02:08:10 am
Simon's Mini-SDK uses the Renesas compiler which is less optimized than the gcc compiler. The Casio SDK is also more difficult to use and requires that you already own a fx9860g unless you got the SDK already from fishbot. ;)
Title: Re: GCC help
Post by: DJ Omnimaga on May 23, 2011, 12:11:33 am
Ah ok thanks for the info, and yeah it can be an hassle. I got a 9860G but I still had to sign up an account on Casio site...