This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Equivalent assembly constants in GCC



I have the below code compiling in CCS TI compiler.

Linker file

#define TMP_SEG_BASE 0x2200
csymbol_tmp_seg_base = TMP_SEG_BASE;

Source file

extern int csymbol_tmp_seg_base;
#define TMP_BASE                       ((WORD)_symval(&csymbol_tmp_seg_base))

I need convert this linker and source file for GCC compiler.

How can i do it?