Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!bbn!uwmcsd1!ig!agate!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: Speed of linking Message-ID: <8805132300.AA26431@cory.Berkeley.EDU> Date: 13 May 88 23:00:13 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 23 >I'm working on a program whose load module takes up about 130K. It's >composed from about 40 modules organized into four libraries (created >with lb). The link (ld) step takes too much time. Experimenting with >flags with this much code will take a huge amount of time, so I'm hoping >someone else knows this: Are there any compiler or linker flags I should >be using that would speed up the link step? (E.g. large memory model?) > >I already have everything in vd0:. > >Jack Orenstein 40 modules? Sounds like some of those should be libraries... link libraries that is. Take a logical subset of modules which you are no longer modifying (or not modifying very often) and create a link library out of it. Another fix would be to change your programming habits... 40 modules for only a 130K load module???? Also, try putting your objects in RAM: ... RAM: is much faster than VD0: (6x faster, in fact). I always put temporary or regeneratable files in RAM:. Still, since you have 40 object modules, you might want to keep them in Vd0:, and only copy them to RAM: to link them. -Matt