modifying gcc files and getting error

Wei Li weili747@gmail.com
Thu Dec 17 09:33:00 GMT 2009


Dear all:

I am trying to change some source files in the GCC compiler and
getting a compilation error.

In the file "gimple.h", I am adding

extern int  x; // the x is global and  should be accesable from other
files as well.


Then I called x in the "tree_into_ssa.c". However, when I compile the
gcc compiler using the make command I get the following massage:

undefined refernce to "x".


Any comments???

Thanks,
Abid



-- 
Regards,

Wei Li



More information about the Gcc-help mailing list