# Tasking compiler: Linking error - "cctc E205: don’t know what to do with @CMakeFiles\\sample.rsp"

**URL:** <https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110>\
**Category:** Code\
**Tags:** os:windows, gen:ninja\
**Created:** [February 24, 2022, 12:19pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110 "2022-02-24T12:19:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![satheesh.jetti](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@satheesh.jetti](https://discourse.cmake.org/u/satheesh.jetti)\
**Post date:** [February 24, 2022, 12:19pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/1 "2022-02-24T12:19:19Z")

</div>

i have created cmake project , i included all the source files , i am able to generate object files but i got linking error.  
this is the error → “cctc E205: don’t know what to do with @CMakeFiles\sample.rsp” .  
compiler : TASKING

please help me how to resolve this linking error.

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [February 24, 2022, 3:29pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/2 "2022-02-24T15:29:27Z")

</div>

It seems that the compiler in use doesn’t understand response files. What compiler is this?

---

<div class="post-metadata">

**Author:** ![satheesh.jetti](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@satheesh.jetti](https://discourse.cmake.org/u/satheesh.jetti)\
**Post date:** [February 24, 2022, 5:03pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/3 "2022-02-24T17:03:12Z")

</div>

Tasking compiler

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [February 24, 2022, 11:01pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/4 "2022-02-24T23:01:07Z")

</div>

I’ve never heard of this compiler. It might be that CMake doesn’t support it. What compiler does it get detected as?

@brad.king

---

<div class="post-metadata">

**Author:** ![satheesh.jetti](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@satheesh.jetti](https://discourse.cmake.org/u/satheesh.jetti)\
**Post date:** [February 25, 2022, 4:52am UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/5 "2022-02-25T04:52:23Z")

</div>

I’ve given compiler(.exe) in the CmakeLists.txt.

do i need to mention anything about sample.rsp in CmakeLists.txt ?

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [February 25, 2022, 12:15pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/6 "2022-02-25T12:15:31Z")

</div>

No, the response files are a mechanism used in CMake (probably the Ninja generator here).

> [@satheesh.jetti](#):
>
> I’ve given compiler(.exe) in the CmakeLists.txt.

And how does CMake identify it? There should be a line in an initial configure about “compiler identification”. If CMake doesn’t know how to use the compiler you’ve given, it won’t be able to make command lines that work for it. If it thinks it is MSVC or something, it better well act like MSVC or things just won’t work.

---

<div class="post-metadata">

**Author:** ![satheesh.jetti](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@satheesh.jetti](https://discourse.cmake.org/u/satheesh.jetti)\
**Post date:** [March 15, 2022, 8:59am UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/7 "2022-03-15T08:59:31Z")

</div>

Cmake generated the \*.rsp file always using @ but this is not accepted by tasking compiler. Tasking compiler expects -f instead of @.

So, to read \*.rsp file add "set(CMAKE\_C\_RESPONSE\_FILE\_LINK\_FLAG "-f “)” in Cmakelists.txt

---

<div class="post-metadata">

**Author:** ![go2sh](https://discourse.cmake.org/user_avatar/discourse.cmake.org/go2sh/32/2606_2.png) [@go2sh](https://discourse.cmake.org/u/go2sh)\
**Post date:** [July 21, 2022, 12:05pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/8 "2022-07-21T12:05:31Z")

</div>

Hi @satheesh.jetti  
I created a pull request to add tasking compiler support to CMake.

BR,  
go2sh

---

<div class="post-metadata">

**Author:** ![BlueFlash](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/278dde/32.png) [@BlueFlash](https://discourse.cmake.org/u/BlueFlash)\
**Post date:** [July 29, 2022, 3:55pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/9 "2022-07-29T15:55:21Z")

</div>

A Tasking compiler is not generating exe files, it’s making binaries for embedded systems (in my case: car electronics). It’s creating Hex files and elf files.  
We are currently having a home-made build system made in Python, but are looking for something more ‘professional’.  
I’m also trying to understand what is needed to make a toolchain that supports the Tasking compiler, but I’m totally new to cmake, so if someone can help, I’d appreciate a lot.

---

<div class="post-metadata">

**Author:** ![go2sh](https://discourse.cmake.org/user_avatar/discourse.cmake.org/go2sh/32/2606_2.png) [@go2sh](https://discourse.cmake.org/u/go2sh)\
**Post date:** [July 29, 2022, 6:57pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/10 "2022-07-29T18:57:41Z")

</div>

Hi @BlueFlash,

CMake can build embedded apps as good as desktop apps. The PR with the compiler support will add everything necessary to build Tricore (TC3x and TC4x) applications. By default it creates elf-files, but you can add options for hex as well. I use it to build TC3x applications already and it works great. Together with ninja its very fast. Are you using tricore as well?

---

<div class="post-metadata">

**Author:** ![Kanaanwong](https://discourse.cmake.org/user_avatar/discourse.cmake.org/kanaanwong/32/2745_2.png) [@Kanaanwong](https://discourse.cmake.org/u/Kanaanwong)\
**Post date:** [September 6, 2022, 9:41am UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/11 "2022-09-06T09:41:45Z")

</div>

hello,  
glad to hear that, i’m trying to build tc3xx together with ninja too,  
but i face some errors, could u kindly share your prj?  
thanks

---

<div class="post-metadata">

**Author:** ![go2sh](https://discourse.cmake.org/user_avatar/discourse.cmake.org/go2sh/32/2606_2.png) [@go2sh](https://discourse.cmake.org/u/go2sh)\
**Post date:** [September 14, 2022, 8:59pm UTC](https://discourse.cmake.org/t/tasking-compiler-linking-error-cctc-e205-don-t-know-what-to-do-with-cmakefiles-sample-rsp/5110/12 "2022-09-14T20:59:45Z")

</div>

I can create an example project. The support for the tasking compiler will land in the next release. [https://gitlab.kitware.com/cmake/cmake/-/merge\_requests/7491](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7491)
