News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

ARM (odroid) cross compiling set-up

Started by narkis, January 24, 2015, 08:40:06 PM

Previous topic - Next topic

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++?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]