From: Eric B. <er...@go...> - 2007-12-09 08:47:17
|
Colin Paul Adams wrote: > What do you specify in the xace file when compiling with gec to have > your application use the boehm garbage collector? > > I have: > > <option name="garbage_collector" value="internal"/> > > for both gexslt and gestalt - that's for use with SE. Yet it seems to > work with gec, although > > <option name="garbage_collector" value="boehm"/> > > would seem more logical. I'm guessing both mean the same thing. The Gobo compiler does not take the Xace 'garbage_collector' option yet into account. What you have to do to use the Boehm GC is to use the gec command-line option --gc=boehm (and make sure that the environment variable $BOEHM_GC points to where it is installed. This works fine under Windows when using msc. See the config file $GOBO/tool/gec/config/msc.cfg. I didn't specify the proper config options in the file $GOBO/tool/gec/config/gcc.cfg yet, but it should be easy to do just by looking at what is done in the msc.cfg file. I will try to make gec aware of the Xace 'garbage_collector' option (in addition to the command-line option) in the near future. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |