This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

put automatic suffix on symbol of variables of module c


Hello,

i have a closed software that convert .jpg in .c file.
This .c file, it allways the same variables at eatch generated time.

The probleme is that i have 10 files in this type.(so_mylogo.c, so_mylogo_hd.c).
But, i can't compile in same project because same symbol in multipe files.......(and not like char my_var_so_mylogo[JPG_LENGTH] char my_var_so_mylogo_hd[JPG_LENGTH])


What can i do?

Is it possible when i compile so_mylogo.c , gcc put an automatic suffix "so_mylogo" at eatch symbol/variable?

Thanks for help.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]