Missing libraries
Hello
Crossworks 4.9, building project for AT91SAM7S, THUMB mode. I get linker errors
cannot find C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.9/lib/libm_v4_t_le_eabi.a: No such file or directory
cannot find C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.9/lib/libc_v4_t_le_eabi.a: No such file or directory
cannot find C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.9/lib/libdebugio_v4_t_le_eabi.a: No such file or directory
cannot find C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.9/lib/libarm_v4_t_le_eabi.a: No such file or directory
cannot find C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.9/lib/libcxxabi_noexcept_v4_t_le_eabi.a: No such file or directory
In Crossworks 4.8.8 clean compile.
It seems the requested libraries have wrong names, there is _v4_ instead of _v4t_
Tomas
-
There is probably other problem.
I've noticed in version 4.8.8 I compile project in THUMB mode, but with ARM libraries. As I remember, the problem with THUMB libraries arose in the past (not found by linker), and I solved it using ARM libraries.
In Crossworks 4.9, there is a new setting "Default" for libraries mode, and the same project now tries to use THUMB libraries, which are misspelled.
I have made a copy of them with requested name (without 't' after v4) and the project compiles and links ok.
So it appears the problem is rather old, but nobody uses THUMB mode for old MCU's.
Tomas
-
Hi Tomas,
It sounds like you might have the Code > Code Generation > ARM/Thumb Interworking project property set to No which makes the build system use ARMv4 libraries rather than ARMv4T libraries and there are no ARMv4 Thumb libraries. The default value of this property for AT91SAM7 projects is Default.
Regards,
Jon
Please sign in to leave a comment.
Comments
3 comments