Am 17.07.2013 10:40, schrieb Jonathan Liu:
Can you please debug the issue. Regarding my current check the variables are set in CMakeFindBinUtils.cmake and this is included by CMakeDetermineCCompiler.cmake. The later set _CMAKE_TOOLCHAIN_LOCATION based on the CMAKE_C_COMPILER variable and this is used as search location for the find_program calls. Can you check the value of _CMAKE_TOOLCHAIN_LOCATION?The CMAKE_{AR,LINKER,NM,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables are currently set to values like CMAKE_LINKER-NOTFOUND for native recipes because the host paths are not searched. This is because the CMAKE_FIND_ROOT_PATH_MODE_PROGRAM cmake variable is set to ONLY.To resolve this, explicitly set the variables using FIND_PROGRAM and pass the CMAKE_FIND_ROOT_PATH_BOTH option so the host paths are also searched.
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
