This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
put automatic suffix on symbol of variables of module c
- From: david bonnin <davidbonnin at free dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 03 Sep 2009 23:28:44 +0200
- Subject: 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.