Mail Archives: djgpp/2009/02/02/20:00:40
Hi again,
On Feb 2, 4:55=A0pm, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
>
> Just to be clear (although I don't think anyone besides me is
> interested), I have a minimal GCC package (2.95.3 / 2.16.1 / 2.03p2 w/
> Make, RM, CWSDPMI, WMEMU) that can fix packed on one 1.44 MB floppy
> and only takes 6 MB of space (or 3.5 if UPX'd). It's pretty small and
> fast. So you can indeed get by with only minimal stuff if all you want
> is a simple C compiler. I should probably upload it to my site, but I
> still need to bundle it a bit better as well as gather all sources for
> my latest changes (mostly done). Actually, I forget, I did recompile
> that for "-Os -march=3Di386", but that was mostly for smallest size (no
> stinkin' alignment). =A0 ;-) =A0 =A0Then again, that was via 4.2.3, and I
> think 4.3.2 improved -Os a bit (which had regressed since 3.4.4).
Okay, I think I sorted everything out. Try it (if you dare,
mwahahahaa). ;-)
http://rugxulo.googlepages.com/djgpp203.7z (main file)
http://rugxulo.googlepages.com/djgpp203.txt (readme / changes)
http://rugxulo.googlepages.com/dj203lst.txt (list of all
files)
http://rugxulo.googlepages.com/dj203-7z.txt (.BAT to recreate
the .7z)
Of course, you need "7zdecode" to unpack the .7z itself, and that can
be found here (w/ srcs):
http://rugxulo.googlepages.com/7ZDEC.ZIP
That actually has several compiles (for variety), but I suggest the
OpenWatcom one since it's smallest (although it's SFNs only, but in
this case that doesn't matter, I made sure everything is 8.3 clean).
So you can even put the decoder on the same floppy as the main archive
(which I consider a "good thing"). Note that I've tested it on my 486
w/ 8 MB RAM total, and it does decompress correctly in under three
minutes. (Previously I was using UHarc, which is slightly better but
closed src, needed 24 MB of RAM, and was slower.)
BTW, full srcs for everything available here (including p7zip if you
want/need it to tweak the archive itself):
http://rugxulo.googlepages.com/
P.S. The biggest file (i.e. the main problem file in trying to cram it
all on a floppy) is CC1.EXE. Just look at this comparison (default
compiles of DJGPP GCCs):
GCC2953B.ZIP
lib/gcc-lib/djgpp/2.953/cc1.exe
723,620 (1,621,504) Dec,25,2001 12:13:34p [Deflat]
GCC302B.ZIP
lib/gcc-lib/djgpp/3.02/cc1.exe
958,333 (964,816) Nov,21,2001 05:02:04p [Deflat]
(Hmmm, that one is obviously UPX'd)
cc1 exe 2,446,848 Nov,21,2001 05:02:04pm A...
GCC304B.ZIP
lib/gcc-lib/djgpp/3.04/cc1.exe
957,482 (964,020) Feb,21,2002 03:02:28p [Deflat]
cc1 exe 2,442,240 Feb,21,2002 03:02:28pm A...
GCC323B.ZIP
lib/gcc-lib/djgpp/3.23/cc1.exe
1,230,968 (2,753,536) Apr,30,2003 07:10:20p [Deflat]
GCC336B.ZIP
lib/gcc-lib/djgpp/3.36/cc1.exe
1,333,981 (2,903,040) May,07,2005 03:12:12p [Deflat]
GCC344B.ZIP
libexec/gcc/djgpp/3.44/cc1.exe
2,178,611 (4,235,264) May,28,2005 12:09:08p [Deflat]
GCC401B.ZIP
libexec/gcc/djgpp/4.01/cc1.exe
2,499,536 (4,836,864) Jul,17,2005 12:02:26p [Deflat]
GCC412B.ZIP
libexec/gcc/djgpp/4.12/cc1.exe
2,725,126 (5,309,952) Mar,11,2007 02:57:38a [Deflat]
GCC423B.ZIP
libexec/gcc/djgpp/4.23/cc1.exe
2,560,828 (2,591,704) Feb,12,2008 12:24:36a [Deflat]
cc1 exe 5,761,024 Feb,12,2008 12:24:36am A...
GCC432B.ZIP
libexec/gcc/djgpp/4.32/cc1.exe
3,527,392 (7,431,168) Sep,01,2008 06:40:54p [Deflat]
Wow, makes me want to downgrade my P166 to use 3.3.6 instead. I'll
have to check to see if there's much internal difference worth
anything. :-P
- Raw text -