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.

compile option for DM8168

 

Dear experts,

I'm wonder which "-march=" option is correct for DM8168. I've reviewed EzSDK to catch options. It use "-march=armv5t" instead of "-march=armv7-a".

I think "-march=armv7-a" may be correct because Cortex-A8 and M3 in DM8168 is ARMv7. Is there any special reason using "armv5t" and "GCArmv5T" in XDC ?

  • Hello, Sympson

    Actually, in EZSDK u-boot and Linux kernel are built with "-march=armv7-a", the version 5 option "-march=armv5t" is used by EZSDK components like syslink, omx, etc., which are more generic, not designed for this system solely. Since they perhaps do not utilize v7, I assume that the developers have left "-march=armv5t" for compatibility reasons (more compilers, more devices - same source).

    I tried to compile some of these components with "-march=armv7-a" and it passed without an error.

    BR