Hi, Dear NXP guys
as below screenshot, when I specified "--no-as-need" in S32DS C Compiler settings,
the powerpc-eabivle-gcc.exe told me that it can NOT recognized this option.
I have to fix some lib link order issue by using this gcc option.
how can I archive this ? or is there other ways that S32DS supported ?
I tried both the "--no-as-need" and "--no-as-needed" option in Linker, but seem neither of them work.
1. put fmc_bsp_os lib before fmc_sm, build project, many "undefined reference to FmcBspXxxx" error, those FmcBspXxxx functions should be already in fmc_bsp_os lib.
2. put fmc_bsp_os after fmc_sm, the "undefined reference to FmcBspXxxx" disappeared,
this means that FmcBspXxxx exist in fmc_bsp lib,
but the linker can not find it if the fmc_bsp_os lib is located before fmc_sm lib (no matter that --no-as-need is added or not).