as: unrecognized option '-meabi=4'

Hi

In my install directory under bin , I had

llvm-c++,llvm-g++,llvm-gconv

I tested one sample program

#llvm-c++ addu.c -o addu-arm

as: unrecognized option ‘-meabi=4’

How do i solve this issue

Thanks

Yuvi R

Hi,

It sounds like you’re using an incorrect version of binutils (one that targets x86 instead of ARM, for example).

You require an ARM-targetting assembler and linker.

James

Hi

Thanks your info