delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/13/09:13:37

Date: Thu, 13 Jan 2000 09:36:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mark Poolman <mgpoolman AT brookes DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: dlls with djgpp
In-Reply-To: <387CBD7F.E45C06E@brookes.ac.uk>
Message-ID: <Pine.SUN.3.91.1000113093602.9693N-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 12 Jan 2000, Mark Poolman wrote:

>   dxegen MyLib.dxe _MyFunc MyLib.o
> 
> The result is :
> 
>     ld -X -S -r -o dxe__tmp.o -Lc:/root/gnu/lib MyLib.o  -T dxe.ld
>     Error: input file has more than one section; use -M for map

Did you use -M, like it suggests, to see what are the additional
sections?

> The source is c++, but doesn't contain any class information.

I think C++ code always produces more than one section, at least with
some versions of GCC.  Try C code first.

> > There are two optional packages written for DJGPP which allow more
> > versatile dynamic code loading.  Look in section 22.3 of the FAQ for
> > DLM and DLX.
> 
> Both these links appear to be broken.

I will gladly change the FAQ if someone knows where's the new home of
these two packages.

- Raw text -


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