www.digitalmars.com         C & C++   DMDScript  

D.gnu - global_rtl initialization?

reply "Ben Hinkle" <bhinkle4 juno.com> writes:
I've asked this to the gcc newsgroup but let me also try here just in case:
where in the gcc frontend initialization does the global_rtl array get
allocated?
(yeah, I know, not the kind of question I wanted to be asking)
I've gotten maybe 1/2 through hooking up the dmd lexer to gcc but for some
reason it doesn't allocate that very important array and I seg-v.
If you post an answer and a mailing address I'll send you some cookies or
something
-Ben
Jan 06 2004
parent "Ben Hinkle" <bhinkle4 juno.com> writes:
duh. found it. I wasn't initializing the gcc backend.


"Ben Hinkle" <bhinkle4 juno.com> wrote in message
news:btfusm$2u6l$1 digitaldaemon.com...
 I've asked this to the gcc newsgroup but let me also try here just in
case:
 where in the gcc frontend initialization does the global_rtl array get
 allocated?
 (yeah, I know, not the kind of question I wanted to be asking)
 I've gotten maybe 1/2 through hooking up the dmd lexer to gcc but for some
 reason it doesn't allocate that very important array and I seg-v.
 If you post an answer and a mailing address I'll send you some cookies or
 something
 -Ben
Jan 07 2004