[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i960 C++ link error



I would like to resolve this one.. any ideas?  


/usr2/tools_install/gcc-2.95.1-binutils-990901-newlib-1.8.2-1099/i960-rtems/bin/i960-rtems-gcc
--pipe -B../../../../../../cvme961/lib/ -specs bsp_specs -qrtems 
-mca    -I -g -Wall -ansi -fasm  -O4 -mleaf-procedures     -o
o-cvme961/cdtest.exe  o-cvme961/init.o o-cvme961/main.o 
../../../../../../cvme961/lib/librtems++.a
/tmp/ccalQ4wV.o(.data+0x4):ccVbh4Q2.c: undefined reference to `global
constructors keyed to cdtest(void)'
/tmp/ccalQ4wV.o(.data+0x10):ccVbh4Q2.c: undefined reference to `global
destructors keyed to cdtest(void)'

If this is just a deficiency of i960-coff, then I need to disable C++
for the cvme961.
Otherwise, I would like to address this.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985