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.

Compiling both xv5T and x64P: clv5T includes CGT/BIOS's stdio.h (should be CST/Linux version), won't compile

But we get a bunch of errors like this:

In file included from our_datastruct.h:5,

                 from our_algo.h:4,

                 from our_algo.c:1:

/opt/TI/C6000CGT6.1.12/include/stdio.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘size_t’

/opt/TI/C6000CGT6.1.12/include/stdio.h:131: warning: type defaults to ‘int’ in declaration of ‘size_t’

I'm porting an app for which we previously built the ARM and the DSP versions of the codec with `make`.

Since we're in the process of porting anyway (to the OMAP from DaVinci), we want to go ahead and port the make process to use XDC instead.

The problem appears to be that the XDC is auto-including the wrong <stdiio.h> when it builds with `clv5T`.

 

How do we change this?