X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 3 Jul 2008 12:27:42 -0400 Message-Id: <200807031627.m63GRgde023374@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <3ddfcf550807030910x36cbc9c4i825f23e6511b1c2@mail.gmail.com> (fud32xxx AT gmail DOT com) Subject: Re: Compiling ELF with DJGPP References: <3ddfcf550807030910x36cbc9c4i825f23e6511b1c2 AT mail DOT gmail DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I want to be able to compile in the ELF format with DJGPP. Is there any way > to do this? The default DJGPP distribution produces COFF, not ELF. Why do you need ELF? It's likely you're targetting some *other* system besides djgpp, in which case what you need is a djgpp-hosted cross-compiler, not djgpp itself. For example, if you're targetting a bare-metal i386 platform, you want an i386-elf cross compiler. If you're targetting Linux, you need an i686-pc-linux-gnu cross compiler. If you just want a DJGPP system that uses ELF instead of COFF, search the internet - it's been done before.