Related articles |
---|
How to link file with wrapper function vasvibhatt@gmail.com (Vasvi Kakkad) (2008-11-04) |
Re: How to link file with wrapper function dmaze@mit.edu (David Z Maze) (2008-11-04) |
Re: How to link file with wrapper function spam@altium.nl (2008-11-04) |
Re: How to link file with wrapper function bill@qswtools.com (Bill Cox) (2008-11-08) |
From: | "Vasvi Kakkad" <vasvibhatt@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Tue, 4 Nov 2008 15:53:20 +0530 |
Organization: | Compilers Central |
Keywords: | linker, question |
Posted-Date: | 04 Nov 2008 07:07:33 EST |
Hi All,
I have written wrapper functions for some predefined library functions in C.
Can anybody help me how do I build the sourcecode of gcc with new
functions and how to link my wrapper lib prior to standard lib? Do I
to change makefile settings??
Ex:
1) wrapper function file:
wrapper.c
void *malloc(size_t size) {
-----
return (malloc(size));
-----
}
Thanks in advance....
Regards,
- Vasvi
[It'll be a challenge. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.