Tasking Toolchain: How to properly use it?

Hi everyone,

many thanks for all your answers! :slight_smile:

To summarize for further readers:

How to use the tasking toolchain?

  1. Create a toolchain file and set the control program (cctc) as the compiler for your asm, c and cpp files.
  2. Enable cross compilation by setting the CMAKE_SYSTEM_NAME (e.g. to Generic), also optionally set the CMAKE_SYSTEM_PROCESSOR (e.g. to TriCore).
  3. Set the CMAKE_TASKING_TOOLSET variable to the used toolset (see official documentation).
  4. Use a third party make utility, e.g. GNU make or ninja build.
  5. Checkout the example toolchain file from go2sh (and the associated post) for further information.

Regards,
Manuel