• Linker problem with compiler 6: armclang -flto armlink --lto can't ignore unused extern reference variable or function
    Dear all: I'am working on DS-5 Version: 5.28.1. Imported sample project startup_Cortex-R8 . and modified main.c file with code like: extern int g_TobeyTest; void TobetTestFun(void) { g_TobeyTest...
  • Linker problem with compiler 6: armclang -flto armlink --lto can't ignore unused extern reference variable or function
    Dear all: I'am working on DS-5 Version: 5.28.1. Imported sample project startup_Cortex-R8 . and modified main.c file with code like: extern int g_TobeyTest; void TobetTestFun(void) { g_TobeyTest...
  • DS-5 Professional Edition: 5.28.1 wigth tool Arm Compiler6 DS-5 built-in: with option -flto --lto can't solve unused external variable
    Dear all: I'am working on DS-5 Professional Edition: 5.28.1 wigth tool Arm Compiler6 DS-5 built-in. Imported sample project startup_Cortex-R8 . and modified main.c file with code like: extern int...
  • DS-5 Professional Edition: 5.28.1 wigth tool Arm Compiler6 DS-5 built-in: with option -flto --lto can't solve unused external variable
    Dear all: I'am working on DS-5 Professional Edition: 5.28.1 wigth tool Arm Compiler6 DS-5 built-in. Imported sample project startup_Cortex-R8 . and modified main.c file with code like: extern int...
  • Ramfunction with armclang and LTO and -Oz
    I'm migrating from arm compiler 5 to armclang and I'm struggling with placing functions in RAM. I tried using what this page suggests - https://www.keil.com/support/docs/3228.htm - and it works, if...