Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BF822FD.2040308@enea.se> Date: Sun, 18 Nov 2001 22:07:09 +0100 From: Mohammad Saleem User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: crossgcc AT sources DOT redhat DOT com, cygwin AT cygwin DOT com Subject: replacing a function from libc.a Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/