This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem --with-gc=simple.
Bryce wrote:
> You probibly want to look in the boehm-gc directory and see if you can
make it
> use something other than mmap() on your target. Take a look at os-dep.c.
Right. I've run gcj code on a number of different simulator targets
recently. It sounds like Antonio needs to configure things properly in
gcconfig.h. I think mmap is used to get memory for some unix targets. For
embedded target's we've simulated we simply define our own "sbrk" which
returns memory from a statically allocated heap. Search for ECOS in
os-dep.c.
AG