This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined reference to __aeabi_unwind_cpp_pr1, __cxa_end_cleanup
- From: JJ <alchemistmba at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 24 Oct 2009 15:36:56 -0700
- Subject: undefined reference to __aeabi_unwind_cpp_pr1, __cxa_end_cleanup
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