Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: sumner@metrowerks.com (Joel Sumner) Newsgroups: scea.yaroze.programming.codewarrior,scea.yaroze.problems.pc,scee.yaroze.problems.pc,scee.yaroze.programming.codewarrior Subject: Re: CodeWarrior can't link much static data (?) Date: Tue, 22 Jul 1997 17:29:57 -0500 Organization: Metrowerks Lines: 34 Message-ID: References: <33D367C9.6111@ix.netcom.com> NNTP-Posting-Host: 198.214.227.194 X-Newsreader: Anawave Gravity v1.10 Xref: chuka.playstation.co.uk scea.yaroze.programming.codewarrior:135 scea.yaroze.problems.pc:138 scee.yaroze.problems.pc:49 scee.yaroze.programming.codewarrior:88 In article <33D367C9.6111@ix.netcom.com>, spelwevr@ix.netcom.com says... > I have discovered that CodeWarrior will not link a program if > it contains more than 128K or so of data (I have not determined > whether this is the exact value or not). Is there any way to > get this to work? I am at somewhat of a standstill in my > current project until I can get this to work. (Note that it > does not report any errors; however, it simply fails to create > an executable.) > > I also tried adjusting the MIPS Linker settings (hardcoding > the addresses for the data and code areas, in case the link > failure was due to CodeWarrior not being able to figure out > an arrangement), but it still did not work. We haven't seen this in any of our test programs. Can you send the project to support@metrowerks.com and we'll take a look? > Also, as an attempt at a temporary fix, I tried taking the > data out of the program and instead loading it as an external > data block before running the program (which successfully > links if I remove the static data). Unfortunately, this did > not work either. The program kept jumping off to an invalid > address; I checked the addresses and there shouldn't have > been any collision, but by that point I was too tired to > worry over it any more, and at any rate I would much rather > get it to link properly in the first place. Hmm, this seems odd. The dino example works just fine and it has much more than 128K of data. If you still have problems, please let us know. -- ------------------------- PlayStation Debugger Dude Metrowerks