Community
Participate
Working Groups
Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 Build failure occurs after modifying GCC compiler settings for project sub-folder and attempting to rebuild. The Cross Settings prefix does not appear to be applied to the build of files under the sub-folder, although there is no way to specify any other cross settings prefix for the sub-folder. Should be independent of GCC tool version, however for reference the version is: arm-none-eabi-gcc (Sourcery CodeBench Lite 2011.09-69) 4.6.1 Reproducible: Always Steps to Reproduce: 1. Choose New C Project 2. Select GCC toolchain 3. Finish project creation (using chosen defaults) 4. Edit Cross GCC Compiler miscellaneous settings adding (e.g.) "-mcpu=cortex-m3 -mthumb" 5. Create main.c file with dummy implementation 6. Create new folder 'Sub' 7. Add empty 'sub.c" file to sub-folder 'Sub' 8. Build project and confirm success (ignoring linker warning about entry symbol) 9. Edit Cross GCC Compiler optimization settings setting optimization level to -O1 10. Accept and verify the new adornment on the sub-folder icon 11. Build project and confirm build failure (non-prefixed gcc is invoked) 12. View console output and verify that cross settings prefix is not applied to compilation of 'sub.c' file.
Created attachment 212899 [details] Example project