Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Wayne K. Werner" Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Initializing the heap Date: 7 Nov 1997 08:19:41 GMT Organization: WermX Software Lines: 25 Message-ID: <01bceb55$76897a40$67bf43ce@wkwerner> References: <01bce566$fdb8c1a0$a5bf43ce@wkwerner> <34596659.40D5@charlie.cns.iit.edu> <01bce5de$a390af80$6fbf43ce@wkwerner> <3459c0fd.1431258@news.playstation.co.uk> <01bce639$f3382a80$78bf43ce@wkwerner> <01bce8db$44ff5fc0$6ebf43ce@wkwerner> <345F8EAE.167E@san.rr.com> NNTP-Posting-Host: port03.con2.com X-Newsreader: Microsoft Internet News 4.70.1161 David White wrote: > That was my concern. My data is after my code. With my data stored in hard > coded locations, I prefer to have control over heap size and location. Dave, The compliant way of giving you control would be to set the heap size in as a comand line paramete (GNU) or in the ide target config (CW). No matter how it's done, you are probably better off putting your data before the program. It is a lot easier to figure out the size of your data than where program, heap and stack are going to end up. No sense making things harder on yourself than they have to be! -- Wayne K. Werner wkwerner@con2.com