X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: MOSS extender for DOS is FLOSS, built via compiling cross !! (teehee) Date: Fri, 9 Jan 2009 21:47:45 -0800 (PST) Organization: http://groups.google.com Lines: 88 Message-ID: <60b3c285-c756-41e3-a19d-96691ab6caf5@r13g2000vbp.googlegroups.com> References: <5fb78e93-bed6-46d9-85c8-a838e35b3d22 AT r36g2000prf DOT googlegroups DOT com> <9941ccce-87a6-4ace-9f78-9b15710643bd AT x8g2000yqk DOT googlegroups DOT com> <4563e62e-7382-4c6a-b986-d4c8a8ff9d47 AT i18g2000prf DOT googlegroups DOT com> <0541cc98-689c-4e6c-ae02-d6f5a1b4a9cb AT l37g2000vba DOT googlegroups DOT com> <886d17b9-399f-48ed-ac4d-45ca11d3879f AT s20g2000yqh DOT googlegroups 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 1231566466 25644 127.0.0.1 (10 Jan 2009 05:47:46 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sat, 10 Jan 2009 05:47:46 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: r13g2000vbp.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5,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 n0A6048C017353 Reply-To: djgpp AT delorie DOT com Hi again, On Jan 9, 11:21 am, "Rod Pemberton" wrote: > "Rod Pemberton" wrote in message > > > Okay, with your comments, Daniel Borca's guide, I think I got binutils to > > compile for DJGPP host and moss target, but GCC is complaining of missing > > directories for moss to moss target...  I've tried a few rebuilds now. > > I'm not sure why the host is incorrect. > Did you make sure the host is "i386-pc-msdosdjgpp"? > Well, a number of changes later, I think I got a moss version of GCC to > compile.  It errors where the moss document says it should.  Ok, it appears > I'm headed in the wrong direction anyways.  One can't compile the FreeBSD > libc on DOS without compiling MOSS on DOS...   Can't compile FreeBSD libc without the MOSS compiler or without building the extender? (I haven't looked into that, maybe I should.) > And, I'm not sure how to get > moss to compile for DOS.  So, I'll have to setup a Linux or FreeBSD, and use > the precompiled libs, like I'm assuming you did to compile the 7Z app. I did indeed use the already existing libs (e.g. libc.a, libgcc.a) to build 7zdec, but I used my own rebuild of GCC + BinUtils (DJGPP "host"), not the 2.7.2 dynamic build of GCC for Linux (although that seems to work under BasicLinux, if you want to try that). Did you notice that the "cross"-linker (ld) says it supports these formats? GNU ld 2.10.1 Copyright 2000 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Supported emulations: i386moss i386msdos I think even DJ and Bryan intersected briefly (June 2, 1995) in one posting way back in the day (according to Google). Lemme find it (since it made me think, truly or falsely, that you can build everything with the MOSS-enabled GCC): http://sourceware.org/ml/gas2/1995/msg00093.html -------------------------------------------------------------------------------------------------------- Bryan: Here are some very simple patches to GNU ld-950602. They add a new target `i386-msdos', to go along with the corresponding target already in bfd and gas. They also add a new target `i386-moss', which is a DOS extender I'll be releasing shortly (I'd like to have support for it in the main binutils distribution by the time I release it). DJ: Please be careful not to confuse the i386-moss work with i386- go32 or i386-djgpp work, which is also a dos extender that runs under ms-dos and uses binutils, but uses the COFF support instead of ELF. Anything that says "msdos" should be appropriate for ALL ms-dos systems, not just the moss system. If it will only help moss, use the word "moss" in the name. Bryan: The i386-msdos target is not for any DOS extender at all; it's for creating plain 16-bit ("unextended") MS-DOS executables. -------------------------------------------------------------------------------------------------------- P.S. He announced the extender + cross-compiler on news://comp.os.msdos.programmer on Feb. 2, 1996 and news://comp.os.linux.announce the next day.