Article View: comp.lang.modula2
Article #4193Re: Modula2's godawful IO.
From: Henry Spencer
Date: Sun, 24 Apr 1988 00:16
Date: Sun, 24 Apr 1988 00:16
16 lines
1286 bytes
1286 bytes
> >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.
> >...Not all the world is a vax, you know.
>
> It is not difficult[*] to arrange for the linker to pull in a simple
> printf() if the rest of the program does not use floating point, and a
> full-blown floating point printf if it does...
In fact, if your C implementation has a limited address space and a bulky
floating-point library and does NOT do this, complain to the implementors.
It's not a novel or strange idea. The very first C implementation, on the
pdp11, used this trick. If Microslop can't be bothered, don't buy their
compiler.
--
"Noalias must go. This is | Henry Spencer @ U of Toronto Zoology
non-negotiable." --DMR | {ihnp4,decvax,uunet!mnetor}!utzoo!henry
Technical Details
Message-ID:
<1988Apr24.001640.2791@utzoo.uucp>Path:
arc1-ca.pugleaf.net!utzoo!henryReferences:
<764@ndsuvax.UUCP> <535@m10ux.UUCP> <730@mhuxm.UUCP> <230@jupiter.olyis.UUCP>, <11154@mimsy.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.misc,comp.lang.c,comp.lang.pascal Path: arc1-ca.pugleaf.net!utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Modula2's godawful IO. Message-ID: <1988Apr24.001640.2791@utzoo.uucp> Organization: U of Toronto Zoology References: <764@ndsuvax.UUCP> <535@m10ux.UUCP> <730@mhuxm.UUCP> <230@jupiter.olyis.UUCP>, <11154@mimsy.UUCP> Date: Sun, 24 Apr 88 00:16:40 GMT