There really isn't any error messages as the compiler isn't running.
In the status bar I get:
Cannot run program "/opt/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++": error=2, No such file or directory
In the build window below it I get:
Arduino: 1.5.6-r2 (Linux), Board: "Arduino Due (Programming Port)"
/opt/arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=156 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="Unknown" -DUSB_PRODUCT="Arduino Due" -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/libsam -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/CMSIS/Include/ -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/system/CMSIS/Device/ATMEL/ -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/cores/arduino -I/opt/arduino-1.5.6-r2/hardware/arduino/sam/variants/arduino_due_x /tmp/build7025964430391194383.tmp/sketch_mar28a.cpp -o /tmp/build7025964430391194383.tmp/sketch_mar28a.cpp.o
I checked and in the referenced directory there is a arm-none-eabi-g++ executable.
When I try to run it in that directory from a cmd terminal I get:
bash: ./arm-none-eabi-g++: No such file or directory
Doesn't mater if I'm root or a normal user
It seems as if an arm-none-eabi-g++ dependency is missing. If I change the board type to Uno I do not get the error, but its calling avr-g++ instead of arm-none-eabi-g++
I have java-6 and java-7 on the distribution.
Any help is appreciated....