Register

Hitachi compiler options

Discuss issues related to the fx-9860G Software Development Kit
Senior Member
User avatar
Posts: 113
Joined: Sun Dec 16, 2012 2:59 pm
Calculators: None

Hitachi compiler options

Postby Casimo » Wed Feb 27, 2013 6:58 pm

I read that you can compile a program with different options: size, nospeed, speed. How can I change the setting? I already tried doing it with the preprocessor, but that didn't work.
Image

Senior Member
User avatar
Posts: 564
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750 G II, Casio fx-9750 G II (SH4), Casio fx-9860G, Casio fx-9860 G SD, Casio fx-9860G Slim, Casio fx-9860 GII SD, Casio fx-9860 GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG 20, Casio Classpad fx-cp400, Casio fx-CG 50

Re: Hitachi compiler options

Postby SimonLothar » Thu Feb 28, 2013 9:01 am

Casimo wrote:I read that you can compile a program with different options: size, nospeed, speed. How can I change the setting? I already tried doing it with the preprocessor, but that didn't work.
If you use the CASIO SDK, look for MakeOptC.TXT or MakeOptCPP.TXT (if I remember correctly, they reside in the build-directory).
I'll be back!

Senior Member
User avatar
Posts: 113
Joined: Sun Dec 16, 2012 2:59 pm
Calculators: None

Re: Hitachi compiler options

Postby Casimo » Thu Feb 28, 2013 3:29 pm

Is it also possible to choose this for every project seperately?
Image

Senior Member
User avatar
Posts: 564
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750 G II, Casio fx-9750 G II (SH4), Casio fx-9860G, Casio fx-9860 G SD, Casio fx-9860G Slim, Casio fx-9860 GII SD, Casio fx-9860 GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG 20, Casio Classpad fx-cp400, Casio fx-CG 50

Re: Hitachi compiler options

Postby SimonLothar » Thu Feb 28, 2013 6:23 pm

Casimo wrote:Is it also possible to choose this for every project seperately?
Nope.
I'll be back!

Senior Member
User avatar
Posts: 86
Joined: Sun Mar 27, 2016 10:24 am
Location: France
Calculators: Casio fx-9750 G II, Casio fx-9860 GII

Re: Hitachi compiler options

Postby cakeisalie5 » Sat Apr 15, 2017 9:27 pm

By the way (sorry if that's not the correct topic to deal with this), does Hitachi's compiler define any compiler-specific macro, something like __HITACHI__?
Part of the Planète Casio community (FR) - main author of the P7 project - libp7 - libg1m - FONTCHARACTER reference

Senior Member
User avatar
Posts: 564
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750 G II, Casio fx-9750 G II (SH4), Casio fx-9860G, Casio fx-9860 G SD, Casio fx-9860G Slim, Casio fx-9860 GII SD, Casio fx-9860 GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG 20, Casio Classpad fx-cp400, Casio fx-CG 50

Re: Hitachi compiler options

Postby SimonLothar » Sun Apr 16, 2017 5:09 am

cakeisalie5 wrote:By the way (sorry if that's not the correct topic to deal with this), does Hitachi's compiler define any compiler-specific macro, something like __HITACHI__?
Yes. __HITACHI__ (1) and __HITACHI_VERSION__ (0x0600).
I'll be back!

Senior Member
User avatar
Posts: 86
Joined: Sun Mar 27, 2016 10:24 am
Location: France
Calculators: Casio fx-9750 G II, Casio fx-9860 GII

Re: Hitachi compiler options

Postby cakeisalie5 » Sun Apr 16, 2017 7:27 am

I'm using that then, thanks :D
Part of the Planète Casio community (FR) - main author of the P7 project - libp7 - libg1m - FONTCHARACTER reference

Return to Casio fx-9860 SDK

Who is online

Users browsing this forum: No registered users and 1 guest