From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp Subject: DXE and C++ Lines: 25 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: <960893824.338992@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-96-159-145 DOT tnt5 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Date: Tue, 13 Jun 2000 23:03:37 +1200 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 960893841 203.96.152.26 (Tue, 13 Jun 2000 22:57:21 NZST) NNTP-Posting-Date: Tue, 13 Jun 2000 22:57:21 NZST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, Summary: Is it possible to make a DXE module from C++ source? Background: I'm working on what I call ESP (Edmund's Server Pages), which is a CGI application that compiles HTML/C hybrid files into DXE modules, and executes them. I'm now trying to make a C++ form of it. The only C++ specific parts are in one file: all calls to the "host" program are to normal C functions, in fact the host is compiled as C. However some classes are used entirely within the source that gets turned into a DXE. I have tried the obvious: compiling the file with gxx, and then trying dxegen on it, but i get an "Error: input file has more than one section; use -M for map" message -- this is from dxegen, and not from the spawned ld program. Thanks heaps, Edmund Horner. edmund1 AT geocities DOT com