Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!ames!amdahl!pyramid!oliveb!olivea!isc-br!ewu!mpierce From: mpierce@ewu.UUCP (Mathew Pierce) Newsgroups: comp.sys.amiga.advocacy Subject: Re: Peter, can you explain to the Amigoids (was: NeXT software size Message-ID: <1569@ewu.UUCP> Date: 7 May 91 04:37:35 GMT References: <11866@uwm.edu> <*05Gx0x&1@cs.psu.edu> Organization: Eastern Washington Univ. Cheney WA Lines: 36 In article <*05Gx0x&1@cs.psu.edu>, melling@cs.psu.edu (Michael D Mellinger) writes: > In article <11866@uwm.edu> gblock@csd4.csd.uwm.edu (Gregory R Block) writes: > > Write a simple "Hello, World" in C, and tell us the size. That will > tell us quite a bit, I think. > > int main() > { > printf("hello world.\n"); > } > compiled with cc -s -object test.c > > -rwxr-xr-x 1 melling wheel 1236 May 6 18:11 a.out* > > or as compiled normally. > > compiled with cc -s test.c > > -rwxr-xr-x 1 melling wheel 16384 May 6 18:13 a.out* Same program, using Manx Aztec C V3.6 producing only object file cc -s test - 120 normal compilation cc test - 5944 Bear in mind that this is an OLD compiler. Also, when I do cc -s blah.c, I get only object code, what does cc -s -object blah.c do on your compiler? Does that produce only object code too? The reason I ask is that it looks like it does, but I see that your listing shows a.out* for that compilation. -Matt Pierce