GNU Toolchain for ARC User Manual
2023.03
Building baremetal applications
Hostlink and libgloss
ARC Toolchain Variants
Linker scripts and memory.x files
Using TCF
Debugging baremetal applications
Using GNU Toolchain to Debug Applications on EM Starter Kit
Using OpenOCD with AXS SDP
Using Ashling Opella-XD GDB server with AXS SDP
Linux applications
eBPF
Other
ARC GNU IDE
GCC documentation
Information for Toolchain maintainers
Frequently asked questions
GNU man pages
GNU Toolchain for ARC User Manual
Building baremetal applications
View page source
Building baremetal applications
Hostlink and libgloss
ARC Toolchain Variants
ARCv1 and ARCv2 Toolchain
ARC EM
ARC HS
ARC 600 and ARC 700
ARCv3 Toolchain
Controlling the memory model
Other tweaking options
Linker scripts and memory.x files
Introduction to linker and linker scripts
Linux user-space applications
Baremetal applications
Default linker emulation
arcv2elfx linker emulation
Linker file for HSDK and HSDK-4xD
Custom linker scripts
Using TCF
General sescription
Compiler options
Memory map
C preprocessor defines
arc-elf32-tcf-gcc options
Debugging baremetal applications
Using GNU Toolchain to Debug Applications on EM Starter Kit
Prerequisites
Building a Simple Application
Building an Application With Support of UART
Running an application with OpenOCD
Starting OpenOCD
Connecting GDB to OpenOCD
Known issues and limitations
Using OpenOCD with AXS SDP
Prerequisites
Building an application
Board configuration
Running OpenOCD
Running GDB
Advanced topics
Using standalone Digilent HS debug cable
Using OpenOCD with only one core in the JTAG chain
Troubleshooting
Using Ashling Opella-XD GDB server with AXS SDP
Building an application
Board configuration
Running Ashling GDB Server
Running GDB
Known issues
Known Issues of previous versions of Ashling software