Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have small static library compiled with latest ARM compiler ARMCLANG v6. Now I have small application that uses this library. I am developing this application in Segger Embedded Studio to debug on Atmel SAM3x8e microcontroller. I am trying to link this static library to my application but getting errors: undefined symbol on all functions that I am trying to use in application. In Segger I tried GCC linker and Segger linker and the same problems. Then I created small test library in Segger and linked with application with no problem.

Is it possible to use ARMCLANG v6 compiled library with GNU GCC linker or Segger?? May be I am missing some options that can be used to create library with ARMCLANG??

Thank you.

PS. I would use ARMCLANG for my application but license free version of ARMCLANG has code size limitations to 32K.

question from:https://stackoverflow.com/questions/65944196/linking-static-library-compiled-with-armclang-v6-with-gnu-gcc-linker

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...