X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling ELF with DJGPP Date: Thu, 3 Jul 2008 23:28:00 -0700 (PDT) Organization: http://groups.google.com Lines: 32 Message-ID: References: <3ddfcf550807030910x36cbc9c4i825f23e6511b1c2 AT mail DOT gmail DOT com> <200807031627 DOT m63GRgde023374 AT envy DOT delorie DOT com> <0a6800d3-53c8-4fa6-b5da-1640c06d89c1 AT s50g2000hsb DOT googlegroups DOT com> <200807040547 DOT m645lEbE012090 AT envy DOT delorie DOT com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1215152880 9565 127.0.0.1 (4 Jul 2008 06:28:00 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 4 Jul 2008 06:28:00 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: c65g2000hsa.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.50 (Windows NT 6.0; U; en),gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m646U3q7023853 Reply-To: djgpp AT delorie DOT com Hi, On Jul 4, 12:47 am, DJ Delorie wrote: > > Correct me if I'm wrong, but you used COFF because "It was the best > > at the time (better than a.out), and ELF didn't exist yet". > > Yup. And surely you can correct me here, but doesn't ELF allow more sections (more than 3) and in whatever order? Anyways, It's obviously very popular (BSD, Linux, etc). But no, we don't really need it. ;-) BTW, I forgot to mention another way to get ELF from DJGPP: OBJCONV !! "This utility can be used for converting object files between COFF/PE, OMF, ELF and Mach-O formats for all 32-bit and 64-bit x86 platforms. Can modify symbol names in object files. Can build, modify and convert function libraries across platforms. Can dump object files and executable files. Also includes a very good disassembler supporting the SSE4 and SSE5 instruction sets. Source code included (GPL)." File name: objconv.zip, size: 651099, last modified: 2008-Jun-05. http://www.agner.org/optimize/#objconv It's a Win32 .EXE, but it runs in DOS via HXRT. It comes with src too, so you can probably recompile it (though I've never tried). EDIT: Weakly tried, didn't work (meh). http://www.japheth.de/HX.html