www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/27/06:18:44

Date: Sun, 27 Dec 1998 13:18:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Laurence Withers <lwithers AT lwithers DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: The DXE mechanism - has anybody used it effectively?
In-Reply-To: <zG6T+BAzLpg2EAn$@lwithers.demon.co.uk>
Message-ID: <Pine.SUN.3.91.981227131519.113I-100000@is>
MIME-Version: 1.0
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019