Re: Gcc and a Garbage Collector.

2005-08-19 Thread Andrew Pinski
On Aug 19, 2005, at 8:16 PM, Stephane Wirtel wrote: It is a very simple mark and sweep GC and not realy useful for most other projects. You mark each struct for GCable and all static and global variables too. You cannot have only a reference to a GCable on the stack (it has to be in a GC

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Stephane Wirtel
 > There's also boehm-gc: > > http://www.hpl.hp.com/personal/Hans_Boehm/gc/ > > which is shipped with gcc for java's use. > > Mostly depends on what you're looking at the gc for - whether it's > for your language, for hacking on gcc, or something else. Thanks Eric, -- Stephane Wirtel <[E

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Eric Christopher
On Aug 19, 2005, at 5:07 PM, Andrew Pinski wrote: Hi, With this page from Wikipedia, http://en.wikipedia.org/wiki/ GNU_Compiler_Collection, in the "See also" section, there is a sentence about a Garbage collected included in GCC. There's also boehm-gc: http://www.hpl.hp.com/personal/H

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Stephane Wirtel
Le Friday 19 August 2005 a 20:08, Andrew Pinski ecrivait: > > > > Hi, > > > > With this page from Wikipedia, > > http://en.wikipedia.org/wiki/GNU_Compiler_Collection, in the "See also" > > section, > > there is a sentence about a Garbage collected included in GCC. > > > > Is it true ? > >

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Andrew Pinski
> > Hi, > > With this page from Wikipedia, > http://en.wikipedia.org/wiki/GNU_Compiler_Collection, in the "See also" > section, > there is a sentence about a Garbage collected included in GCC. > > Is it true ? Yes. > If yes, how can I use it with my c++ source code ? (documentation, > artic