Archive for August, 2014

Adding gcc list file from Eclipse build

If you are using CDT in Eclipse to build a project and want to get the ‘list’ files combining source and assembler, there’s no checkbox to press.

To enable this, goto your project Properties/C/C++ Build/Settings/GCC C Compiler

Set the “Command line pattern” to be:

${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} -Wa,-adhln > “$@.txt”

The end bit is the addition and tells the assembly generator to create the list file.

Comments