From: Carsten Schäuble Newsgroups: comp.os.msdos.djgpp Subject: undefined reference to __builtin_delete Date: Wed, 10 Sep 1997 16:31:13 +0200 Organization: Freie Universitaet Berlin Lines: 19 Message-ID: <3416AF31.4FD0@inf.fu-berlin.de> NNTP-Posting-Host: ncr2.inf.fu-berlin.de (160.45.112.151) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk i compile a complete independent (no includes, no inheritance) c++ class with gcc -c -Wall -o ctrl.o ctrl.c if i define my own destructor in the class, the linker ld -t -oformat coff-go32 -e startup -Ttext 0x10000 -o system startup.o main.o ctrl.o aborts with error ctrl.o(.text+0x15):ctrl.cc: undefined reference to __builtin_delete if the destructor is not defined (the standard destructor is used), so it works fine matthias