mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
This PR adds a detailed Configuration.md document that comprehensively explains the Compiler Explorer configuration system. It covers: - Configuration file structure and hierarchical loading - Property types and automatic conversions - List separators and specialized formats - Group inheritance and compiler configuration - Variable substitution mechanisms - Advanced features like remote compilers and property debugging Additionally, it updates all related documentation to reference this central document for configuration details, reducing duplication and ensuring consistency. This document will serve as the foundation for future configuration system improvements by providing clear documentation of the current implementation.
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
# Running TI-C2000 compiler
|
|
|
|
This document is a very basic explanation of how to get the TI-C2000 compiler working with Compiler Explorer.
|
|
|
|
# Prerequisites
|
|
|
|
To run the TI-C2000 compiler you will need a valid installation of the C2000 compiler. https://www.ti.com/tool/C2000-CGT
|
|
|
|
## Setting up c++.local.properties
|
|
|
|
For more information about the configuration system, see [Configuration.md](Configuration.md).
|
|
|
|
The next step is to create a `c++.local.properties` file under `etc/config` folder. It is going to be different for
|
|
everyone, as you can choose what compiler options you pass to the compiler. Below is the template that I used for the
|
|
22.6.0.LTS version of the compiler. Modify it as necessary for your needs.
|
|
|
|
```
|
|
compilers=&c2000
|
|
# TI-C2000 Compilers
|
|
group.c2000.compilers=c2k2260LTS
|
|
group.c2000.versionFlag=-version
|
|
group.c2000.supportsBinary=false
|
|
group.c2000.intelAsm=
|
|
group.c2000.compilerType=tic2000
|
|
group.c2000.demangler=C:\ti\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\dem2000.exe
|
|
group.c2000.demanglerType=tic2000
|
|
group.c2000.includeFlag=-I
|
|
|
|
compiler.c2k2260LTS.exe=C:\ti\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\cl2000.exe
|
|
compiler.c2k2260LTS.options=-I"C:\ti\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\include"
|
|
compiler.c2k2260LTS.name=C2000 22.6.0.LTS
|
|
```
|