Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!UTCVM.BITNET!JWANKERL From: JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") Newsgroups: comp.sys.apple2 Subject: Re: Zaplink Question Message-ID: <9103041624.AA02796@apple.com> Date: 4 Mar 91 16:19:21 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 34 On Mon, 4 Mar 91 06:25:07 GMT Todd P. Whitesel said: >STEIN@UCONNVM.BITNET (Alan Stein) writes: >>Is there a limit on the number of files that can be linked? How do I get >>around this problem without combining source files? Can object files be >>combined prior to linking? Can linking be done in stages? > >The answer to these questions is no, just a sec, yes, and yes. > >After you've compiled each source file, use the MAKELIB utility to combine >them: [example deleted] Man, talk about work!!! The *easy* way is to create a ZapLink script. Basically, a script is a source file of the type LINKER (I think the language number is 265). You can include any number of object files and libraries to be linked in a script. A sample script looks like: +l +w Object1 Object2 Object3 Library1 Keep=KeepName >Todd Whitesel >toddpw @ tybalt.caltech.edu -- ===> Josef W. Wankerl, Technical Editor for GS+ Magazine BITNET: JWANKERL@UTCVM.BITNET | America Online: JWankerl ProLine: jwankerl@pro-gsplus |-------------------------------- Internet: jwankerl@pro-gsplus.cts.com | "I am a Viking" -Y. Malmsteen