Date: Thu, 12 Aug 1999 11:26:07 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Restall cc: djgpp AT delorie DOT com Subject: Re: ELF and DLLs In-Reply-To: <199908101804.TAA01783@burdock.restall.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 10 Aug 1999, Peter Restall wrote: > The first is, can I compile ELF binaries with DJGPP ? No, not unless you reconfigure Binutils to include ELF support and then rebuild Binutils from sources. > I'm interested because I wish to create my own dynamic-library routines that work > under Linux (which uses ELF) and hopefully under DJGPP as well. Note that object code usually includes hidden dependencies on some private features of the library on the platform where they were compiled. So object files compiled on Linux might not link with DJGPP-compiled code, unless the sources compiled on Linux didn't call any functions from libc.a.