Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!tank!shamash!com50!pwcs!stag!daemon From: to_stdnet@stag.UUCP Newsgroups: comp.sys.atari.st Subject: Re: Laser C Message-ID: <708@stag.UUCP> Date: 1 Feb 89 03:23:22 GMT Sender: daemon@stag.UUCP Lines: 34 From: thelake!steve@stag.UUCP (Steve Yelvington) pvf@diablo.3Com.com writes... > Under Laser, they no longer supply init.c, only init.o. > ... > So, on Laser, I had to patch init.o (I used a disk utility program) > so the name "_exit" became "__xit". This is why Sozobon C is such a deal. Not because it's free but because you get the source code to the library, compiler, assembler and utilities. If something's broken, you can at least stare at broken code instead of .o files. :-) > The result is that I can write little utility programs that are now > very small again. Things like a hex file dumper, or a program that > times other programs, etc no longer end up 6K big. (I just couldn't > stand seeing all that disk space wasted :-) ) Me neither. It's amazing how many examples in C books toss in printf() to do the work of puts() or, on the ST, Cconws(). Ka-blooey! There goes the code size. Incidentally, I tinkered around with a minimum dumb terminal program under Sozobon the other night and the compiled result was 885 bytes WITHOUT hacking the startup module. That doesn't compare with assembler, of course. David Parsons' "hup" program to toggle DTR on the modem port is only 85 bytes. THAT'S a small utility. * Watch that return address! Reply to: * stag!thelake!steve@bungia.mn.org (UUCP) * crash!pnet51!steve@trout.nosc.mil (ARPA) * St. Paul Winter Carnival! Hail Boreas! Defeat Vulcanus Rex!