ld --wrap option

Ángel González keisial@gmail.com
Fri Dec 13 01:03:00 GMT 2013

On 12/12/13 19:28, Greg Hopkins wrote:
> Resending due to urgent need.  Please help if you can.  Thank you.
> Regards,
> Greg
If you are trying to wrap the funcion from the same file where it's 
defined, there are a few easy tricks to wrap it, from the original 
function to #defining the name to the wrapper.
Although the best solution coulb be to move it to a separate file.

More information about the Gcc-help mailing list