Path: chuka.playstation.co.uk!scea!wal From: wal@blarg.net (wayne a. lee) Newsgroups: scea.yaroze.programming.gnu_compiler Subject: InitHeap() values? Date: Wed, 14 Jul 1999 12:58:15 -0700 Organization: SCEA News Server Lines: 15 Message-ID: <1dtrbvv.gn5m1cra6ha8N@user-33qthqr.dialup.mindspring.com> NNTP-Posting-Host: user-33qthqr.dialup.mindspring.com User-Agent: MacSOUP/2.4 hi, i've been using codewarrior on the mac up till now, but i'd like my code to compile under gcc on the pc as well. my program uses the heap (malloc etc.), so in main() i call InitHeap(). with the metrowerks compiler, i can use linker-defined variables to make my heap as big as available memory (from the end of my code up to the location of the stack). are there similar linker-defined values available in gcc? or will i have to inspect the map file and hard-code in the heap addresses by hand? thanks! -- wayne a. lee http://www.scea.sony.com/net/yaroze/pages/wlee.html