Article View: crl.general
Article #12Re: Problem with C for the mathematical programm
From: Scott G. Hall
Date: Sat, 03 Feb 1996 15:10
Date: Sat, 03 Feb 1996 15:10
34 lines
2173 bytes
2173 bytes
Eric Penn <stupid@crl.com> wrote: >P.Bennett (bennett@erich.triumf.ca) wrote: > >Borland and Microsoft very nicely put the math functions in the main library, > >so you don't have to worry about this nonsense - MS-DOS _does_ have some > >advantages :-) > >Wow! Sure is nice to know that you can get bloated object modules with all >sorts of unneeded math calls included - by default! Sure hope they have a >really spiffy linker and global optimizer to weed out all that extra code.... I see you have done little or no DOS-based development. For about 15 years now, most DOS-based linkers only include objects from the library that are referenced in the program. Second, most of the latest crop of linkers for windows reference dynamic libraries where the object code is not included in the executable at all. You don't get bloated programs, but rather trim ones. Also please note, several of the latest UNIXes are also using the same idea in the linker -- include only those statically linked objects that are referenced by the code. These same linkers have configuration files that can set the list of libraries to search by default, so now you can automatically have the math library, curses & termlibs, and so on included without specifying them on the command line, and since only objects referenced are included, not worry about bloated programs. -- - sgh What are you doing, reading the words at the bottom?!? Key Grip!?! What is a key grip anyway?! I don't give credit to anybody -- it's Scott G. Hall (Scott.Hall@att.com) all my show!! - Duckman AT&T Bell Laboratories - GCBS, Columbus, OH, USA
Technical Details
Message-ID:
<4evtse$o4u@nntpa.cb.att.com>Path:
arc1-ca.pugleaf.net!nntphub.cb.att.com!not-for-mailReferences:
<4epq2e$h4b@crl2.crl.com> <4erfj5$f5c@canb.cin.gov.au> <1FEB199621595021@erich.triumf.ca> <4eskqb$h8b@nntp.crl.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!nntphub.cb.att.com!not-for-mail From: sgh@cbgbcs.cb.att.com (Scott G. Hall) Newsgroups: crl.general,comp.sys.sun.misc,comp.unix.sys5.misc,comp.lang.c,sci.math Subject: Re: Problem with C for the mathematical programm Date: 3 Feb 1996 15:10:06 GMT Organization: AT&T Bell Labs, GBCS Message-ID: <4evtse$o4u@nntpa.cb.att.com> References: <4epq2e$h4b@crl2.crl.com> <4erfj5$f5c@canb.cin.gov.au> <1FEB199621595021@erich.triumf.ca> <4eskqb$h8b@nntp.crl.com> NNTP-Posting-Host: cbgbcs.cb.att.com