From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Why does gcc make such big binaries? Date: 25 May 1997 08:32:25 GMT Organization: Oxford University, England Lines: 18 Message-ID: <5m8tep$3j1@news.ox.ac.uk> References: <5ln25g$2p4 AT news DOT ox DOT ac DOT uk> <5m8qck$avt AT news DOT asu DOT edu> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk leereyno AT imap2 DOT asu DOT edu wrote: : GCC under linux makes tiny code. My mandelbrot program is about 13k : long. The Dos version is over 100k. What follows is AFAIK; I don't program Linux, so don't take it as gospel. Linux is already in protected mode, so it doesn't need to switch. Also, the shell in Linux does most of what the stub does anyway. So in Linux this additional code isn't required. Are you using SVGALIB? This is outside my experience, but my impression was also that SVGALIB is loaded at runtime, so it is not part of the executable either. -- George Foot Merton College, Oxford What's the wizard's password for? (dunnet) use DJGPP). After all, I don't : want to pay $300 or more just use a compiler that is in my opinion a real : mess. Microsoft knows where the money is, but if they we as smart as they : believe, they'd lower the price of VC or make it free for developers. I : see advantages to using both Windows and DOS, but in my mind the only REAL : operating system (for single user PCs) is MS-DOS. And for the time being, : Microsoft is not going to get a red cent from me. DJGPP is one the : greatest compilers that I've ever used and I've used a lot of compilers. : I'm not just saying this because it's free, although that is a great : incentive, it's also quite stable and generates fast code... most everyone : here in this newsgroup is quite supportive of DJ's efforts, and due to : DJGPP's track record, it's going to continue to get my support. : Mike Winsor : mwinsor AT hotmail DOT com : See my game in progress @: : http://www.geocities.com/siliconvalley/park/2120 DOS isn't really all that great. It stays out of your way and is definitely the fastest OS for PCs. But I would have to say that overall Linux or OS/2 is the best. DOS is nice when you are learning assembly language and want to keep things as simple as possible. But a powerful OS it isn't. : El Guapo Grande del Fuego wrote in article : <199705202330 DOT SAA03688 AT rrnet DOT com>... : > : > Well, I don't hate Bill Gates... I definitely respect him. My favorite : > OS still happens to be DOS... I'd take Billy over a Mac any day. I just : > don't like Windows... Windows is my nightmare. Too much overhead, too : crash : > prone, etc... : > : > atomly : > : >