New answers tagged

1 vote

Makefile file format not recognized when using cross compiler

The problem is that you set CC for the cross compiler, but you need to set CXX to set the C++ cross compiler. Since you didn't change that, it used the native C++ compiler, and the object files are ...
user avatar
  • 754
2 votes
Accepted

Makefile file format not recognized when using cross compiler

There are no build rules for the object files you list as dependencies, so Make compiles them using its default rule, using g++, i.e. the native compiler, not the cross-compiler. You then try to link ...
user avatar
  • 841

Top 50 recent answers are included