Main

11.1 EDK - Is it possible to view the assembly (.s) files generated by the GNU Compiler (GCC) from within EDK?

AR# 20613

Search For Another Answer

Topic EDK-GNU
Last Updated 04/25/2009
Status Active
Description

Keywords: LibGen, compile

When I compile my code from the XPS GUI, the GNU compiler processes my C source files and produces an ELF file.

Is it possible to view the assembly (.s) files that the GNU compiler generates for my C code?

Solution

A number of different methods are available for viewing the assembly (.s) files. One method is described below:

1. In XPS, select the Applications tab.
2. Right-click the relevant project and select "Set Compiler Options".
3. Select the Paths and Options tab.
4. In the Other Compiler Options to Append field, enter "-save-temps".
5. Click OK.
6. Re-compile your software application.

All the intermediate files used by the compiler, including the assembly files, will be saved in the project directory.


 
 
/csi/footer.htm