__builtin_delete not found

Jonathan Riches jon.riches@westbridge-design.co.uk
Thu Feb 1 09:52:00 GMT 2001


Hello,
can anyone help me out with a problem?  I'm trying to compile a target file
for a powerpc 860 and it appears that as soon as a C++ destructor is
compiled then the object file includes a call to "__builtin_delete".  The
linker gives up at this point.


powerpc-rtems-gcc -o number.obj  -g number.cpp  -c  -fno-exceptions
powerpc-rtems-ld -T linkcmds   number.obj  -nodefaultlibs  -Lstdc++ -Lgcc -o
number.hex

command line output:
####################################################################
number.obj: In function `Number::~Number(void)':
/home/jona/metaware/number.cpp:146: undefined reference to
`__builtin_delete'

gcc: 2.95.2
binutils 2.10.1
newlib-1.9.0
rtems-ss-20010109 (all rtems patches applied to gcc, bin and newlib)
cygwin 1.1.6 (NT4 host)

Regards Newbie

Jonathan Riches
Design Engineer
Westbridge Design Ltd
Privett, Alton, GU34 3PL,  UK
tel. 01730 828111  fax 01730 828123



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list