News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Help with filenames in Build options dialog

Started by armandjordaan, March 07, 2013, 02:59:06 PM

Previous topic - Next topic

armandjordaan

Hello,

I have a project using gcc. I want to output an assembler listing for each file.
In the Build Options dialog under Compiler settings->Other options, I have added: -Wa,-ahls=$(TARGET_OUTPUT_DIR)\output.asmlst

My problem is that this always writes to output.asm for every file. I would rather want the output file to be $(TARGET_OUTPUT_DIR)\main.asmlst if I compile main.c. How can I edit my entry so that it takes the file that is being compiled and changes the extension to asmlst?

Any help would be appreciated.

BTW: thank you for an excellent IDE.