Help....
Sanjiv Kumar Gupta
sanjivg@noida.hcltech.com
Thu Jan 10 05:15:00 GMT 2002
In your case, The object file getting generated by GCC is prepending an _
before symbol names. you can edit the object files generated by GCC by using
objcopy tool to remove these _ symbols. I am not sure whether GCC provides
any such compile tiem option.
--rgds
sanjiv
-----Original Message-----
From: Aravind K Umesh [mailto:aravind@adamya.com]
Sent: Thursday, January 10, 2002 11:29 AM
To: Andrea 'Fyre Wyzard' Bocci; yinliyin@zte.com.cn;
gcc-help@gcc.gnu.org
Subject: Help....
Hi All,
When I created Static libraries using ar.exe the symbols in it were
suffixed by a Underscore
For example if it some symboll yyyyyy, it is seen as _yyyyyy. why does
this underscore come before the symbol even though the respective
variable is defined without underscore in its respective file. Is it
something to do with GCC.
Thanks & Regards
Aravind
--
==================================
Aravind K Umesh
Adamya Technocrates Pvt. Ltd.
Bangalore - 560 086
Mail : aravind@adamya.com
Ph : 080 - 3221780 Ext : 36
==================================
More information about the Gcc-help
mailing list