Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry From: terry@cs.weber.edu (A Wizard of Earth C) Subject: Re: How suitable is gcc-2.2.2 for 386bsd? Message-ID: <1992Oct30.043723.21745@fcom.cc.utah.edu> Sender: news@fcom.cc.utah.edu Organization: University of Utah Computer Center References: <1992Oct28.135008.29265@ntuix.ntu.ac.sg> <1992Oct28.183940.5859@nrao.edu> Date: Fri, 30 Oct 92 04:37:23 GMT Lines: 42 In article <1992Oct28.183940.5859@nrao.edu>, cflatter@nrao.edu (Chris Flatters) writes: |> In article 29265@ntuix.ntu.ac.sg, eoahmad@ntuix.ntu.ac.sg (Othman Ahmad) writes: |> >Linus Torvalds (torvalds@klaava.Helsinki.FI) wrote: |> >: There should probably be no other major problems (although gcc-2.2.2 is |> >: a lot bigger than 1.39, so if you are tight on memory, 1.39 is much |> >: faster). |> >: |> > |> >gcc-2.2.2 is bigger than gcc-1.39 & g++, being about 6 Megabytes binary. |> >gcc&g++ 1.39 occupy about 2 megabytes(?). |> |> Linus is talking about the size of the executables while Othman appears |> to be talking about the disk space required. |> |> A quick check using the size command on a SPARCstation (so results might |> differ somewhat under 386BSD) shows that the C compiler (cc1) has increased |> slightly in size from 1.4 to 2.2.2 (about .8Mbytes to about 1Mbyte). The |> C++ compiler has increased rather more substantially (1.1Mbytes to 1.5Mbytes) |> and the preprocessor has actually shrunk (about 173 kbytes to 100 kbytes). |> I suspect that version 2.2.2 may consume substantially more dynamically |> allocated memory that 1.4 but I haven't checked this. Well, the sources have changed; one expects size changes. I'd be interested in what the size differences for code files that *haven't* changed is. For instance, what are the 1.39 and 2.2.2 sized for ash, bash, tar, ls, ps, etc.? I think a larger compiler would be worth it if it produced smaller binaries for non-compiler executables. Terry Lambert terry@icarus.weber.edu terry_lambert@novell.com --- Any opinions in this posting are my own and not those of my present or previous employers. -- ------------------------------------------------------------------------------- "I have an 8 user poetic license" - me Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial -------------------------------------------------------------------------------