Compiler Options

Oct 10, 2007 2 Replies

Hella all:)



I would like to ask for the complier option in the XILINX EDK. I have written ans inline assembly code. and simulation in Modelshim. When i am compling the code i said "No Optimization".



But in the debug symbols what is the deffierence between symbols for debugging (-g)and symbols for assembly(-gstabs). ? And for inline assembly what is the best settings?


regards xenix



The EDK compiler is a GCC derivative. Any documentation on GCC should apply (except for the code generation).

G.

Probably the standard used for the debug info (stabs / dwarf).

I would use -g3. Not sure if you're going to get any debug info for inline assembly though. What are you expecting?

Cheers, Jon

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required