Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Spellweaver Newsgroups: scea.yaroze.programming.codewarrior,scea.yaroze.problems.pc,scee.yaroze.problems.pc,scee.yaroze.programming.codewarrior Subject: CodeWarrior can't link much static data (?) Date: Mon, 21 Jul 1997 08:44:41 -0500 Organization: The Implementor Lines: 26 Message-ID: <33D367C9.6111@ix.netcom.com> Reply-To: spelwevr@ix.netcom.com NNTP-Posting-Host: aus-tx23-20.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.02 (Win95; I) Xref: chuka.playstation.co.uk scea.yaroze.programming.codewarrior:125 scea.yaroze.problems.pc:135 scee.yaroze.problems.pc:47 scee.yaroze.programming.codewarrior:86 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. 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. If anyone has any ideas on this, please let me know!! (I am using the CodeWarrior 2.0 on Win95.)