Date: Thu, 13 Jan 2000 09:36:28 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Mark Poolman cc: djgpp AT delorie DOT com Subject: Re: dlls with djgpp In-Reply-To: <387CBD7F.E45C06E@brookes.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.