am building Tool chain using Build root.

My target is at91rm9200(arm920t).



I also enable C++ support for that.

Tool chain is build successfully



But when I compile my CPP project.

It doesn’t work.

The ERROR is:

/home/buildroot/build_arm/staging_dir/gcc/arm-linux-uclibc/3.4.6/../../../arm-linux-uclibc/bin/ld:test1.o: Relocations in generic ELF (EM: 3).

Test1.o: could not read symbols:File is in wrong format

Collect2: ld returned 1 exit status.



I think my toolchain is OK.

There is some linking is required.



How to resolve this?

What parameter I need to support for enable C++?

What library should link?