X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp on 386 Date: Thu, 5 Mar 2009 13:23:33 -0800 (PST) Organization: http://groups.google.com Lines: 142 Message-ID: <7b945ea5-bbd5-42dd-866a-4f2cce7e59e4@o36g2000yqh.googlegroups.com> References: <598659 DOT 78008 DOT qm AT web31913 DOT mail DOT mud DOT yahoo DOT com> <89823734-86ca-4c73-b8d8-9e08f564223c AT m40g2000yqh DOT googlegroups DOT com> <200902110132 DOT n1B1Wh6e027044 AT envy DOT delorie DOT com> <200903051741 DOT n25Hfkbm004946 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 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1236288213 1768 127.0.0.1 (5 Mar 2009 21:23:33 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 5 Mar 2009 21:23:33 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: o36g2000yqh.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.7) Gecko/2009021910 Firefox/3.0.7,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Mar 5, 11:41=A0am, DJ Delorie wrote: > > The problem with the oldest distributions was that not all sources for > all gnu utilities were included, that's all. =A0It wasn't more nefarious > than that. > > The history page is quite old; I doubt you can still find 1.03 > anywhere. Well, I wasn't looking for it, just stumbled upon something by wandering around a bit. Here's what I found (although I haven't tried it, should I?): ftp://ftp.funet.fi/pub/msdos/programming/gcc/ uchida.zip 1098 KB 6/17/1993 12:00:00 AM Archive: uchida.zip 1123483 bytes 19 files -rw-r--r-- 2.0 fat 93407 b- stor 9-Oct-90 20:48 gcc&/bine.lzh -rw-r--r-- 2.0 fat 401336 b- stor 9-Oct-90 20:23 gcc&/bins.lzh -rw-r--r-- 2.0 fat 146518 b- stor 9-Oct-90 17:47 gcc&/src/ binuty.lzh -rw-r--r-- 2.0 fat 5503 b- stor 9-Oct-90 20:59 gcc&/src/ copying.lzh -rw-r--r-- 2.0 fat 189193 b- stor 9-Oct-90 05:12 gcc&/src/gas.lzh -rw-r--r-- 2.0 fat 59925 b- stor 9-Oct-90 05:14 gcc&/lib/libc.lzh -rw-r--r-- 2.0 fat 61220 b- stor 9-Oct-90 05:20 gcc&/lib/math.lzh -rw-r--r-- 2.0 fat 4149 b- stor 9-Oct-90 11:47 gcc&/lib/uty.lzh -rw-r--r-- 2.0 fat 1235 t- defN 9-Oct-90 05:04 gcc&/makerule.gcc -rw-r--r-- 2.0 fat 76827 b- stor 9-Oct-90 20:49 gcc&/usr.lzh -rw-r--r-- 2.0 fat 33843 t- defN 9-Oct-90 12:19 contents -rw-r--r-- 2.0 fat 1508 t- defN 9-Oct-90 12:03 inst.c -rw-r--r-- 2.0 fat 7856 b- defN 9-Oct-90 12:03 inst.exe -rw-r--r-- 2.0 fat 548 t- defN 9-Oct-90 12:20 install.bat -rw-r--r-- 2.0 fat 31256 b- defN 21-May-89 22:14 lharc.exe -rw-r--r-- 2.0 fat 1235 t- defN 9-Oct-90 05:04 makerule.gcc -rw-r--r-- 2.0 fat 2350 t- defN 9-Oct-90 13:38 read.me -rw-r--r-- 2.0 fat 26892 b- stor 19-Nov-90 12:32 xm.lzh -rw-r--r-- 2.0 fat 24136 b- stor 9-Oct-90 05:54 xm/xm.lzh 19 files, 1168937 bytes uncompressed, 1121545 bytes compressed: 4.1% (quoting READ.ME): ---------------------------------------------------------------------------= ------------------------------------- GCC ver 1.36 and related utilities for IBM-PC/AT 386 Oct 9, 1990 Yoshiaki Uchida How to install to install drive c: , run inst c >install.bat then execute install.bat Please check the content of 'install.bat' created by inst.exe. Update Floating point subroutines are much better. Bug fix in file - related functions like lseek(). many other functions. Here is our own version of 'run386' (with source code - yes). Distributing binary copies is free. Bugs In some case, " run386 bin/ar dv xxx.a yyy.o " cause segment error. If you meet this bug, please use following procedure to avoid it. 1. make or go to working directory. 2. extract all objects in the library. 3. delete what you want to delete. 4. create new library for all rest object. to do this, see the makefile in /gnu/libc. It is used to make lib.a, but works only if you create 'object.def'. For example, ls *.o | sed "s/$/ \/" | sed "s/^/ /" >object.def will of much help to you. Occationary "run386 xxx" does not run if invoked by gmake or gcc.exe. In this case, please create batch file using -n option of gcc.exe or gmake.exe. Usage of gcc.exe gcc -? shows brief comment. gcc -n shows commands what gcc.exe generated but do not execute them. It is useful to create .bat file. Options are read from file 'gnucc.cfg' then read from command line. exmample gcc -c *.c -O compile all *.c files in current directry create object (.o) files (-O option). optimize (-O) gcc -S foo.c -msoft-float compile 'foo.c' but do not assemble it. Result is 'foo.s'. object code run without FPU (-msoft-float) gcc -ohello hello.c work.o -msoft-float Compile hello.c, then link with work.o, to produce hello.exp. This hello.exp is called from run386.exe (or xm.exe) as run386 hello[.exp] Usage of xm.exe (run386.exe) is just like run386.exe of Phar Lap. But there is no options. run386 /bin/foo will serch /bin/foo first, if not found, then /bin/foo.exp How to re-compile xm.exe First unarc xm.lzh or xm.zip then using TMAKE, TASM and TLINK of Borland, type make xm.exe which will create xm.exe. Rename as run386.exe if you like compatible name with Phar Lap. ---------------------------------------------------------------------------= ------------------------------------- Sounds interesting, at least. :-)