I\'ve been working on a c++ project for a while now, but would like to port it over to my arm processor. I already have all of my cross-compile tools (I\'m using CodeSourcery)
The problem is because of these three rules:
Socket: Socket.cpp
ServerSocket: ServerSocket.cpp
simple_server_main: simple_server_main.cpp
First of all, the left-hand side of the rule should be the object file I guess, so should have the .o
suffix.
The second problem, and most likely the root of your problem, is that there is no command to compile the source files, which means that make
will use the default compiler and not your cross-compiler.