No subject
Ian Lance Taylor
iant@google.com
Tue Dec 4 07:40:00 GMT 2012
On Mon, Dec 3, 2012 at 11:14 PM, dhinesh someone
<dhineshflames@gmail.com> wrote:
> what are the properties of static function in c in gcc compiler?
> how linker does linking between library and source code...
> what is mean by static and dynamic linking
These questions have nothing to do with GCC. This is not the best
place to ask them.
The properties of "static function in c" are the same for GCC as they
are for any other C compiler. A static function is not visible
outside the compilation unit in which it is defined.
The linker does not link source code, it links object files. For
details on how linkers work, see the series of blog entries starting
at http://www.airs.com/blog/archives/38 . That series also covers
dynamic linking.
Ian
More information about the Gcc-help
mailing list