|
From: Rob H. <ti...@ge...> - 2005-08-17 11:44:12
|
On Wed, 2005-08-17 at 14:38 +0300, Yeshurun, Meir wrote: > It's possible that printf is a small inline function or a template > function (which then turns around and calls fprintf) that is compiled > into your program, not one of the so's. You need to find a way to leave > the code for printf out of your program, so your program will have to > call the code for printf that is in one of the so's.=20 Hmm. nm a.out reports: U printf@@GLIBC_2.2.5 Doesn't that mean it will trying to find it from a shared library? If I use fprintf, I get U fprintf@@GLIBC_2.2.5 Which implies that they aren't different in how they are resolved. Cheers, Rob --=20 |