From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp References: <12bbfa6f DOT 1413f0db AT usw-ex0108-062 DOT remarq DOT com> Subject: DXE/DLX and C++ Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Organization: Paradise Net Ltd. Customer Message-ID: <960989641.316160@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-96-159-44 DOT tnt5 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Date: Thu, 15 Jun 2000 01:40:57 +1200 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 960989658 203.96.152.26 (Thu, 15 Jun 2000 01:34:18 NZST) NNTP-Posting-Date: Thu, 15 Jun 2000 01:34:18 NZST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello to all. I asked a question regarding "DXE and C++", which has seemingly been overlooked in favour of Bernhard's more recent "DLX and C++". ;-) However the problems appear to be almost identical (as are the suspect programs dxegen and dlxgen), and the discussion of Bernhard's problem has been interesting to me. 1. I've examined the DXE mechanism and managed to get past the multiple sections issue by adding a couple of lines to the linker script. 2. But I am now stuck with "unable to resolve external symbols" on '___builtin_delete', '_terminate__Fv', '___throw', '___builtin_new' and '___eh_pc'. This list did include '_free', '_strcmp', and '_malloc', until I remember to add my custom support functions (support.o) to the command line. It seems that I need to include parts of the C++ libraries that provide these symbols. Unfortunately when I've experiemented with linking various libraries in (-lc and -lgcc) I've been confronted with yet more unresolvable symbols. (Not to mention name clashes with my support functions.) Help!