Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!apple.com!casseres From: casseres@apple.com (David Casseres) Newsgroups: comp.sys.mac.programmer Subject: Re: Another LSC 3.0 Question Message-ID: <1551@internal.Apple.COM> Date: 26 Apr 89 21:51:20 GMT References: <1527@internal.Apple.COM> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 23 In article <1527@internal.Apple.COM> casseres@apple.com (David Casseres) writes: > I have what I hope is a simple problem. In a simple LSC program, I want > to use the standard function atoi. This is in the stdio library, and when > I link it in apparently all the code in the library gets copied, and my > code segment gets too big! I can't believe this is supposed to happen. Oops, I should have said the unix library, not stdio. > I rooted through the library sources looking for atoi so that I could build > a custom library containing just atoi and a few other functions, but I > couldn't find it. I think the compiler must be changing it to something > else. Aaargh! I subsequently found it, in the unix library. It then became a simple (but annoying) task to make a little library containing just atoi and, for good measure, atol. David Casseres Exclaimer: Wow!