Is it possible disassemble an object compiled by armclang and re-compile it with arm-none-eabi-gcc

I have a libray compiled with armclang,  and I wan't to link the library to my project which

compiled with arm-none-eabi-gcc.

But when link it, following error happens:

"Object has vendor-specific contents that must be processed by the 'ARM' toolchain"

It come from some object files, which maybe use some assembler instructions specific

for armclang. 

So if it is possible that disassemble the object files with fromelf tool or arm-none-eabi-objdump tools,

generate .S files, and then use the arm-none-eabi-gcc(as) tools to compile them again,

at last link them all.

Parents Reply Children
No data
More questions in this forum