This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__builtin_delete not found


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]