About global varibles initialization

Djkerster Lameprs wcnmrnm@yahoo.com
Tue Jan 15 16:21:00 GMT 2002


Hi:

I am currently doing a project on changing gcc.
I need to change the global varibles initializing
process but I don't know how to debug into it.

Like a simple program - 1.c
--------------------------------
void *foo(int i){
}
void *(*pt)(int i) = foo;
int main(){
}
--------------------------------

But "gcc -drtl 1.c" won't generate rtls for line
void *(*pt)(int i) = foo;
Does that mean I cant change the value of the variable
pt in the compiler? If I could, how?

Have a nice day,
Sue


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the Gcc mailing list