This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
About global varibles initialization
- From: Djkerster Lameprs <wcnmrnm at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 15 Jan 2002 15:02:21 -0800 (PST)
- Subject: About global varibles initialization
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/