GCC Compiler Version used in KDS 1.0.1 and KDS 1.1.1?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GCC Compiler Version used in KDS 1.0.1 and KDS 1.1.1?

667 Views
mjbcswitzerland
Specialist V

Hi All

 

I have been using the GCC compiler version which was installed with KDS 1.0.1 for some time.

A few days ago I updated to KDS 1.1.1 and deinstalled KDS 1.0.1.

 

Today I had a shock. A project that was building to a size of 98k Flash using the GCC version from KDS 1.0.1 now builds to 120k Flash, using the same settings as before (-Os) [when build with the GCC version in KDS 1.1.1].

 

The deinstallation has deleted the old GCC binaries and KDS 1.0.1 is no longer available for download.

 

Are different settings required with the GCC version now used to make it efficient again?

 

Regards

 

Mark

Labels (1)
0 Kudos
2 Replies

440 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

hello Mark,

I just checked release note. both of these two versions use gcc version 4.8.0.

the output code size still can be changed because  from KDS 1.0.1 to KDS 1.1.1,  it fixes old version(build tool chain and libs) bugs. overall makes this happen. here is KDS1.1.1 release note.

http://cache.freescale.com/files/microcontrollers/doc/user_guide/KDSRN.pdf?fasp=1&WT_TYPE=Supporting...

if you want, I suggest you install KDS1.0.1 and check map file difference for same project.

Hope this helps!

========================================

this answer is for you. if it helps, please click on "correct answer " button.

Best Regards,

Jennie

0 Kudos

440 Views
mjbcswitzerland
Specialist V

Hi Jennie

This has been a false alarm because FTP and TELNET support was enabled in the project being referenced which made it larger. Since I had de-installed the older KDS I couldn't test the compiler behaviour with it and so this gave the impression that it was the compiler change that caused the size change.

Today I managed to reconstruct  the original project again from backups and then it was identied that this project option had been changed at the same time as the compiler - therefore there is no significant difference between the compiler versions code size.

Regards

Mark

0 Kudos