Thanks Chris,
I searched my Ubuntu 14.04 PC for arm-linux-gnueabihf-g++ without success. I believe 'cpp' is another acronym for 'C-plus-plus'.
The reason I believe '/usr/bin/arm-linux-gnueabihf-cpp' is the right [symlink to] the C++ compiler is because, when I enter '/usr/include/c++/4.8' as the include search path, the compiler stops complaining about ' <iostream> unresolved inclusion'. However, it still complains about 'cout' and 'endln' being 'symbol could not be resolved' .
What worries me is this include path is unrelated to arm-linux-gnueabihf. It pre-dates its installation.
Likewise, when I search /usr/ for 'istream' & 'iostream', I can only find files that pre-date the installation of gcc-arm-linux-gnueabihf.
Could it be that the ' sudo apt-get install gcc-arm-linux-gnueabihf' installation is missing the C++ libraries and includes?
BobF
On 14-12-17 09:33 AM, Christopher Covington wrote:
On 12/17/2014 12:23 AM, Bob Furber wrote:
hello.cpp search paths:
Cross-tools path: /usr/bin
tools prefix: arm-linux-gnueabihf-
compilercpp
linker cpp
cpp is the suffix for the C preprocessor. Try g++ instead.
HTH, Chris