> properly.Now i have to place that malloc file into the gcc-4.0.2 package so > that when i configure and install this package my program runs with the > malloc which i have written.Kindly help me to solve this problem. > You can simply place your version of malloc() in your program, and it will be used instead of the library's malloc() version. If you want to make it available for other programs as well then you may consider making it a library/shared object (-shared option of gcc), or simply a .o object (-c option of gcc). You can then link your program with the library/shared object or the .o object. If you want to make it available to unknown programs then you may also consider making your malloc() version thread-safe. Hope this helps. Regards, Amit Choudhary __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com