bagpiper@oxy.edu (Michael Paul Hunter) (01/25/89)
I am using Primix (PRIME's UNIX) and I have been trying to port nethack2.2. I can get everything to compile after a little work and then when I try to get it to ld it freaks out. It appears that ld doesn't/can't handle as many files as nethack has. Does anybody know of a way around this besides combining a lot of the files. I guess moving a bunch of the files into an archive is an answer...but that seems like a fair amount of work. Mike
bagpiper@oxy.edu (Michael Paul Hunter) (01/25/89)
In the last message I failed to mention that my machine does not get comp.unix.wizards, so you will have to mail directly to me. Thankx, Michael
Makey@LOGICON.ARPA (Jeff Makey) (01/26/89)
In article <13758@tiger.oxy.edu> bagpiper@oxy.edu (Michael Paul Hunter) writes: >It appears that ld doesn't/can't handle >as many files as nethack has. Does anybody know of a way around this besides >combining a lot of the files. I guess moving a bunch of the files into an >archive is an answer...but that seems like a fair amount of work. A friendly RTFM response is appropriate here. Look up the -r option to ld, and use it to combine existing .o files into a few large .o files, then do the usual ld using only these large .o files and the libraries to produce your executable image. Happy nethacking. :: Jeff Makey Department of Tautological Pleonasms and Superfluous Redundancies Department Disclaimer: Logicon doesn't even know we're running news. Internet: Makey@LOGICON.ARPA UUCP: {nosc,ucsd}!logicon.arpa!Makey