Hello,
I'd like to use C6000 CGTv6.1 to implement C6748 StarterWare USB. I think CGTv6.1 supports -gcc option for Type attributes in GNU extention. I hope that CGTv6.1 supports a description below because there are some descriptions in StarterWare USB.
struct __attribute__((aligned(32))) myStruct { char c1; int i; char c2; };
But I saw some following error messages during build time after rebuilding library from ELF to COFF. I think the error is caused by Type attributes.
Description Resource Path Location Type
../../../../../../../usblib/include/usblib.h invalid attribute for "struct <unnamed>" usbdesc.c /usb_host_msc_c674x_c6748_lcdkC6748 line 197 C/C++ Problem
I also refer to these documents.
C6000 Optimizing Compiler v 6.1 UG (SPRU187O)
6.12 GNU C Compiler Extensions
C6000 Optimizing Compiler v7.6 UG (SPRU187V)
6.15.1 Extensions
6.15.4 Type Attributes
Regards,
Kazu