Hi,
I'm trying to build my project using ARMCC and CMake but I'm having difficulties with the linking step.
The project is building fine with ARM-GCC but when I tried to build it with ARMCC the linker complained about the following error:
Fatal error: L3900U: Unrecognized option '-L/(path to my library)/my_library'.
What I understand is that the "-L" option is not a valid option for armlink but I'm not sure how to fix it.
I created the separate toolchain file for ARMCC and I can build the project successfully but can't link it. Any help would be extremely appreciated.
I'm using Ubuntu with CMake version cmake version 3.21.3 and Component: Arm Compiler for Embedded FuSa 6.16.1.0 (dev drop 0).
Thanks in advance
Just a quick update. I think that the problem was that in my case