CW 10.1 Unable to enable GCC extensions

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

CW 10.1 Unable to enable GCC extensions

1,228 Views
Focon
Contributor II

Hi,

 

When i try to enable GCC extensions in the compiler, I get the following error when compiling:

 

C:/Program Files/Freescale/CW MCU v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Usage|Error

>Unknown option 'gcc'

 

Does anyone know how solve this? Or is it a known issue?

 

regards.

Labels (1)
0 Kudos
Reply
3 Replies

829 Views
stanish
NXP Employee
NXP Employee

Hi Focon,

 

This is a known issue.

To enable gcc extensions type "-gccext on" into ARM Compiler -> Language -> "Other Flags" edit box. (see attached screenshot)

 

Stanish

0 Kudos
Reply

829 Views
Focon
Contributor II

Is there an admin which could move this subject to CodeWarrior - General discussion forum.

I guess i posted this question in the wrong forum section.

 

Thank you.

0 Kudos
Reply

829 Views
JWW
Contributor V

Moved from Kinetis to CodeWarrior group

 

-JWW

 

0 Kudos
Reply