Ralf.Brown@B.GP.CS.CMU.EDU (04/21/88)
In article <230@jupiter.olyis.UUCP>, ecb@pluto.uucp (Eric Brown) writes: }Now include the size of the floating point libraries. On Microsoft 5.0 C, }calling printf links the floating point emulator, which is about 30K of code. } -Eric, Called Ultrahacker Interesting.... Turbo C only links in the FP emulator if you actually use floats in your program. If you don't, you get an integer-only printf linked in (which prints an error message if you try to use %f/%g/etc). And the emulation code is less than 19K (that's the size of the .LIB). Just did a quick compile of the "Hello, world" program using printf and puts: PRINTF EXE 5720 PUTS EXE 4080 (about 2.5K of the .EXE is the stdio library). -- {harvard,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- DISCLAIMER? I claimed something? ARPA: RALF@CS.CMU.EDU FIDO: Ralf Brown 1:129/31 BIT: RALF%CS.CMU.EDU@CMUCCVMA TalkNet: (school) | "Tolerance means excusing the mistakes others make. (412)268-3053 | Tact means not noticing them." --Arthur Schnitzler