User forums > Embedded development

ARM (odroid) cross compiling set-up

(1/1)

narkis:
dev platform:
Linux (Unubtu 14.04 LTS) on MacBookPro
Code::blocks - latest version;

need to cross compile for ARM (odroid -c1) armv7 processor.
Code::blocks set up with arm-linux-gnueabihf-cpp and other related compiler parts and linked in the build option for "GNU  GCC compiler for ARM".

even while building a simple console application project with "hello world" I get this error:

arm-linux-gnueabihf-cpp -Wall -ansi -fexceptions -O2 -std=c++11 -Wall -pg  -c /home/myname/Development/codeblock/ARMtest/main.cpp -o obj/Release/main.o
arm-linux-gnueabihf-cpp: fatal error: ā€˜-c’ is not a valid option to the preprocessor
compilation terminated.

I am at a loss
narkis

oBFusCATed:
Have you tried to use the executable that ends with g++?

Navigation

[0] Message Index

Go to full version