delorie.com/archives/browse.cgi | search |
From: | "Tim 'Zastai' Van Holder" <zastai AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <966454791 DOT 684123 AT news DOT l3 DOT wish DOT net> <8296-Thu17Aug2000005858+0300-eliz AT is DOT elta DOT co DOT il> |
Subject: | Re: DLX programming |
Lines: | 64 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Message-ID: | <qYUm5.90417$Fw6.2528738@afrodite.telenet-ops.be> |
Date: | Thu, 17 Aug 2000 17:06:30 GMT |
NNTP-Posting-Host: | 213.224.94.80 |
X-Trace: | afrodite.telenet-ops.be 966531990 213.224.94.80 (Thu, 17 Aug 2000 19:06:30 MET DST) |
NNTP-Posting-Date: | Thu, 17 Aug 2000 19:06:30 MET DST |
Organization: | Pandora - Met vlotte tred op Internet |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message news:8296-Thu17Aug2000005858+0300-eliz AT is DOT elta DOT co DOT il... > > From: "Wim Cools" <wimcools AT wishmail DOT net> > > Newsgroups: comp.os.msdos.djgpp > > Date: Wed, 16 Aug 2000 21:30:02 +0200 > > > > Error: input file has more than one section; use -M for map > > > > And does > > anybody has an idea how I can fix this so I can use C++ files with DLX (C is > > no problem, just C++). > > Try to compile with -fno-exceptions switch. Alternatively, you can edit the dlx.ld file (probably installed in $DJDIR/lib) to include the necessary sections. Below is the dlx.ld that my extended DLX library, which features compression and exception support, uses (once I find a replacement for lzo that is LGPL'ed instead of GPL'ed, expect a release of my DLX version). -----< dlx.ld starts here OUTPUT_FORMAT("coff-go32") FORCE_COMMON_ALLOCATION SECTIONS { .dlxdata : { *(.text) *(.gnu.linkonce.t*) *(.const*) *(.ro*) *(.gnu.linkonce.r*) etext = . ; _etext = .; dlx_first_ctor = . ; *(.ctor) dlx_last_ctor = . ; dlx_first_dtor = . ; *(.dtor) dlx_last_dtor = . ; *(.data) *(.gnu.linkonce.d*) ___EH_FRAME_BEGIN__ = . ; *(.eh_fram*) ___EH_FRAME_END__ = . ; LONG(0) *(.gcc_exc*) edata = . ; _edata = .; _object.2 = . ; . += 24 ; *(.bss) *(COMMON) end = . ; _end = .; } } -----> dlx.ld ends here Tim Van Holder
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |