Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: RE: THINK C linking wish Message-ID: <31266.275A5116@stjhmc.fidonet.org> Date: 3 Dec 90 13:12:57 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 22 > Despite all the flurry of THINK C "wish list" stuff that has passed > through this news group, I don't remember if this was ever mentioned. > It would be really nice if there was a way to get "smarter" linking > out of THINK C. By this, I mean that the linker includes only the > functions called in the program. As I understand it, presently the > linker will link in all the functions from a file if even one of those > is called. Kind of a bummer when you're using files common to a lot > of different projects in your project for only one or two of the > functions in those files. The only way to get the THINK C linker to be smart about this is to build your common files into a project and then include the common project into the particular projects that use those files and get rid of the source files. The linker in THINK Pascal now uses MPW.o files and it's a lot smarter than the C linker so maybe in the next release of C... -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org