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:


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

Leave a Comment