We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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