Date: Sun, 27 Dec 1998 13:18:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Laurence Withers cc: djgpp AT delorie DOT com Subject: Re: The DXE mechanism - has anybody used it effectively? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Thu, 24 Dec 1998, Laurence Withers wrote: > gcc -c a-dxe.cpp -o a-dxe.o > dxegen a-dxe.dxe _test a-dxe.o > ld -X -S -r -o dxe__tmp.o -LC:/PROGRAMS/DJGPP/lib a-dxe.o -T dxe.ld > Error: input file has more than one section; use -M for map > > Unfortunately, this doesn't mean anything to me :-( This means what it says: that the produced file a-dxe.o has more than a single section. Does the same work for a C code? If it does, chances are that the additional section is due to the way C++ exceptions are supported. (That hint about -M option is there for you to follow it, you know ;-). In that case, try invoking gcc with the -fno-exceptions option (I hope I spell the option right) and see if that helps.