toolchain
toolchain copied to clipboard
Can't reference MWDT-specific 64bit operations when linking library built with MWDT to application built with GCC
We have a library for ARC EM (embarc_mli) that is built with MetaWare (and can’t be built with gcc). Some functions in that library operate 64 bit int values, so they use specific Metaware functions to emulate missing hardware functionality.
We want to use GNU toolchain to build applications that use embarc_mli library. But when I try to link application with the library it fails because it can’t reference mwdt functions mentioned above. In our case the functions are _Lsllbs, _ldivmod_normbs_opt from
Probably the solution is to add to the link command also the libmwcl.a which implements the missing functionality.
No activity, closing it