replacing a function from libc.a

Mohammad Saleem mosa@enea.se
Mon Nov 12 05:02:00 GMT 2001


Hi all,

I have built cross compiler for H8300.
I am linking the target application with the lib libc.a built along with 
cross compiler.
Now I want to replace a function say realloc from libca. and want to add 
my own implementation to libc.a.
One way can be that I replace the realloc.c file with my own realloc.c 
and built newlib again. But this is time consuming process. I wonder if 
there is other way to replace realloc.o with my realloc.o to libc.a

Any help in this regard.

regards
/Mohammad


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list