# \#comp:ti

**URL:** https://discourse.cmake.org/tag/comp-ti/34.md

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

---

## [TI Clang support adds --library=stdc++ which breaks all builds](https://discourse.cmake.org/t/ti-clang-support-adds-library-stdc-which-breaks-all-builds/14391)

<div class="topic-metadata">

**Author:** [@FeHeBf](https://discourse.cmake.org/u/FeHeBf)\
**Replies:** 0\
**Last updated:** [July 18, 2025, 12:54pm UTC](https://discourse.cmake.org/t/ti-clang-support-adds-library-stdc-which-breaks-all-builds/14391 "2025-07-18T12:54:11Z")

</div>

Hello, we are working currently mostly with CMake versions 3.22, 3.25 and 3.27. One colleague updated to 3.31 and couldn’t build its application anymore with the TI CLang (LTS 3.2.2). When linking it threw an error “f…

---

## [cmake error for ti cgt \>8](https://discourse.cmake.org/t/cmake-error-for-ti-cgt-8/8120)

<div class="topic-metadata">

**Author:** [@Freed-Wu](https://discourse.cmake.org/u/Freed-Wu)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 11:58am UTC](https://discourse.cmake.org/t/cmake-error-for-ti-cgt-8/8120 "2024-12-09T11:58:12Z")

</div>

Reproduce Procedures cmake/ti.cmake: set(CMAKE\_SYSTEM\_NAME Generic) if(NOT DEFINED TOOLCHAIN\_SUFFIX) set(TOOLCHAIN\_SUFFIX 6x) endif() set(CMAKE\_C\_COMPILER cl${TOOLCHAIN\_SUFFIX}) set(CMAKE\_CXX\_COMPILER cl${TOOLCHAIN\_SU…

---

## [How to compile linear assemble?](https://discourse.cmake.org/t/how-to-compile-linear-assemble/8122)

<div class="topic-metadata">

**Author:** [@Freed-Wu](https://discourse.cmake.org/u/Freed-Wu)\
**Replies:** 4\
**Last updated:** [September 13, 2024, 1:00am UTC](https://discourse.cmake.org/t/how-to-compile-linear-assemble/8122 "2024-09-13T01:00:33Z")

</div>

/usr/share/cmake/Modules/Compiler/TI-ASM.cmake: include(Compiler/TI) \_\_compiler\_ti(ASM) set(CMAKE\_ASM\_SOURCE\_FILE\_EXTENSIONS asm;s;abs) However, TI has a special assemble named linear assemble: $ cl6x --help ... Defa…

---

## [TI CGT: How to stop cmake converting libc.a to c?](https://discourse.cmake.org/t/ti-cgt-how-to-stop-cmake-converting-libc-a-to-c/8121)

<div class="topic-metadata">

**Author:** [@Freed-Wu](https://discourse.cmake.org/u/Freed-Wu)\
**Replies:** 5\
**Last updated:** [May 15, 2023, 3:13pm UTC](https://discourse.cmake.org/t/ti-cgt-how-to-stop-cmake-converting-libc-a-to-c/8121 "2023-05-15T15:13:13Z")

</div>

When I link\_libraries(libc.a) cmake --build build will run /opt/ccstudio/ccs/tools/compiler/c6000\_7.4.24/bin/cl6x --run\_linker --output\_file=x264 --map\_file=x264.map -heap=0x1000000 -stack=0x1000000 CMakeFiles/XXX/X.c…

---

## [Correct linkage library name generation for TI compilers](https://discourse.cmake.org/t/correct-linkage-library-name-generation-for-ti-compilers/1910)

<div class="topic-metadata">

**Author:** [@AJIOB](https://discourse.cmake.org/u/AJIOB)\
**Replies:** 3\
**Last updated:** [March 13, 2021, 5:30pm UTC](https://discourse.cmake.org/t/correct-linkage-library-name-generation-for-ti-compilers/1910 "2021-03-13T17:30:37Z")

</div>

Hello I’m using TI ARM CGT and TI C6000 CGT. After calling link\_libraries function (by myself or by conan tool) for linking mylibrary lib, linker flag --library=mylibrary was generated. But that two compilers (and I t…

---

## [Problem with TI-C compiler](https://discourse.cmake.org/t/problem-with-ti-c-compiler/1943)

<div class="topic-metadata">

**Author:** [@AryKno](https://discourse.cmake.org/u/AryKno)\
**Replies:** 1\
**Last updated:** [November 24, 2020, 11:44pm UTC](https://discourse.cmake.org/t/problem-with-ti-c-compiler/1943 "2020-11-24T23:44:06Z")

</div>

Hello ! I am trying to build an executable with the TI-C compiler (TI v20.2.2.LTS precisely) to cross-compile for an ARM microcontroller. The compiler step is working properly, all the object files are generated. At t…

---

## [Chaging order of options in the link command of a cross-compilation project via CMAKE\_CXX\_LINK\_EXECUTABLE](https://discourse.cmake.org/t/chaging-order-of-options-in-the-link-command-of-a-cross-compilation-project-via-cmake-cxx-link-executable/1346)

<div class="topic-metadata">

**Author:** [@jairo](https://discourse.cmake.org/u/jairo)\
**Replies:** 2\
**Last updated:** [June 19, 2020, 1:48pm UTC](https://discourse.cmake.org/t/chaging-order-of-options-in-the-link-command-of-a-cross-compilation-project-via-cmake-cxx-link-executable/1346 "2020-06-19T13:48:40Z")

</div>

I have a CMake toolchain file to cross-compile to a TI C2000 (C28x) MCU. The compilation seems to go well except during the link process I receive a couple of warnings, the relevant warning says warning: Option -o is an…

---

## [CMakeLists.txt : Link options not working properly](https://discourse.cmake.org/t/cmakelists-txt-link-options-not-working-properly/489)

<div class="topic-metadata">

**Author:** [@sramnath](https://discourse.cmake.org/u/sramnath)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 10:14pm UTC](https://discourse.cmake.org/t/cmakelists-txt-link-options-not-working-properly/489 "2020-01-13T22:14:28Z")

</div>

Hello, I am using the TI-CGT compiler and have been successful in getting all my source files to compile. However, I am unable to get the link command to successfully link, and I have crafted a manual link command whi…
