I get undefined references to these two symbols while linking: _aeabi_unwind_cpp_pr1 __cxa_end_cleanup The command I'm using is: cross-gnueabi-g++ -static -nostartfiles -nodefaultlibs -nostdlib -T temp.ld -o standalone_program start.o abc.o xyz.o -lgcc -lc -L/tools/arm/gnu_crosstools/arm/lib/gcc/arm-linux-gnueabi/4.3.2/ I'm trying to build a cross compiled standalone binary. JJ