For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > August 2006 > A question about weak external symbols









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author A question about weak external symbols
Zheng Da

2006-08-19, 10:01 pm

The book <linkers and loaders> gives the example of printf when it
describe weak external symbols. But I don't understand well how weak
external symbols work in printf.
Does it means if there is "%f" in the first parameter of printf,
fltused will be called and floating point routines will be linked?
I don't understand that if there's a reference to fltused, the floating
point routines are linked.
Is fltused a function?
If it is, it seems that fltused has some codes that can link the
floating point routines.
Anyway, I am quite .

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com